copy it to somewhere else and then type export LD_LIBRARY_PATH=/lib:/usr/lib:<path_to_your_lib>
that way the ldso will know to look also in <path_to_your_lib> Quoting "E. Boer" <[EMAIL PROTECTED]>: > On Tue, 2007-07-31 at 18:00 +0200, John Crispin wrote: >> it is enabled by default if i am not mistaken, however the sdk is >> smart enought to delete all libs that are not needed when making the >> fimage >> >> so it'll be somewhere in the sdk folder >> > Correct I found it, but simply copying it to the foxboard don't work > because /lib is readonly. I have to insert it into the fimage, and the > question is how ... > > > >> Quoting "E. Boer" <[EMAIL PROTECTED]>: >> >> > Hello, >> > >> > I build a program with threads. Added the -lpthreads flag to the >> > makefile and the program was compiled successfully. I copied it to >> the >> > foxboard and executed it, but I got the error: >> > >> > error while loading shared libraries: libpthread.so.0: cannot load >> > shared object file: No such file or directory >> > >> > Looking around in the filesystem I couldn't find the specified file. >> > Where can I enable threads in the SDK? >> > >> > Thanks, >> > >> > Eddy >> > >> > >> >> >> >> >> > >
