> --- In "jenlhunt2003" <> wrote:
>> Hi,
>> I'm new at this and have run into another problem. I have my
>> application running fine from CF. It was linked using -lpthread. I
>> copied the executible from CF to flash and tried to run but it gives
>> the following error:
>>
>> $ ./test
>> ./test: error while loading shared libraries: libpthread.so.0: cannot
>> open shared object file: No such file or directory
>>
>> So, I copied over the libpthread.so.0 file (to the lib directory) and
>> ran it with the following error:
>>
>> $ ./test
>> ./test: relocation error: /lib/libpthread.so.0: symbol
>> __libc_sigaction, version GLIBC_2.2 not defined in file libc.so.6 with
>> link time reference
>>
>> What's the best way to resolve this?
The onboard flash uses glibc version 2.3.2, Debian uses glibc 2.2.5, and
Crosstools uses glibc 2.2.5. You'll want to grab the libpthread library
from crosstools... For the onboard flash grab the version of libpthread
from the crosstools, or you could use static linking...
//Eddie
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|