From: "Gieseler, Christian" <CG@eks-engel.de>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] Linker error sqlite3
Date: Wed, 6 Nov 2013 10:24:25 +0000 [thread overview]
Message-ID: <C9183576C7342045BFDCAE863EB3C37A030FE2@EKS-Exchange.eks-engel.local> (raw)
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
next reply other threads:[~2013-11-06 10:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-06 10:24 Gieseler, Christian [this message]
2013-11-17 18:32 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C9183576C7342045BFDCAE863EB3C37A030FE2@EKS-Exchange.eks-engel.local \
--to=cg@eks-engel.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox