/usr/lib/libpthread.so.0 is not an "arm file". No files in /usr/lib/ can be used.
'libpthread' should be part of the libc, that comes with your "arm tool chain".
( Glibc, elibc, ulibc, etc.)
A tool chain is e.g. : Binutils, libc, arm-gcc, which you probably have already.
At compile time you will have to point to "arm libraries" only.
Example : export LD_LIBRARY_PATH=/opt/arm/lib && <other-command>
(Like :
export LD_LIBRARY_PATH=/opt/arm/lib && arm-gcc myprog.c -o myprog -lpthread ).
..
Last edited by knudfl; 06-21-2011 at 04:53 PM.
|