From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx-relay13-dus.antispameurope.com ([94.100.134.213]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Ve0IH-0003c2-5L for ptxdist@pengutronix.de; Wed, 06 Nov 2013 11:25:01 +0100 From: "Gieseler, Christian" Date: Wed, 6 Nov 2013 10:24:25 +0000 Message-ID: Content-Language: de-DE MIME-Version: 1.0 Subject: [ptxdist] Linker error sqlite3 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" Hi, i am using ptxdist-2013.05.0 and wanted to enable sqlite3 as extension in php5.3.10. There seems to be a linker error. /opt/OSELAS.Toolchain-2012.12.1/arm-v5te-linux-gnueabi/gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/../lib/gcc/arm-v5te-linux-gnueabi/4.7.2/../../../../arm-v5te-linux-gnueabi/bin/ld: note: 'pthread_mutex_trylock@@GLIBC_2.4' is defined in DSO /opt/OSELAS.Toolchain-2012.12.1/arm-v5te-linux-gnueabi/gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/../sysroot-arm-v5te-linux-gnueabi/lib/libpthread.so.0 so try adding it to the linker command line /opt/OSELAS.Toolchain-2012.12.1/arm-v5te-linux-gnueabi/gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/../sysroot-arm-v5te-linux-gnueabi/lib/libpthread.so.0: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[1]: *** [sapi/cli/php] Error 1 Has the configure script to be modified to include lpthread? Thanks for any advice/help. Best regards Christian Gieseler -- ptxdist mailing list ptxdist@pengutronix.de