|
Boost : |
From: Christian Larsen (contact_at_[hidden])
Date: 2008-09-01 02:50:04
Alexander Dong Back Kim skrev:
> Now, I compiled the same application and link different gcc version of boost
> library files because it uses GCC 3.2 instead. I compiled it and there was
> no compile-time error but it cannot be executed because it can't find the
> target library files. I did "ldd" for the application and now it has all the
> boost library files...
>
> libpthread.so.0 => /lib/tls/libpthread.so.0 (0x0038d000)
> libboost_system-gcc32-mt-1_35.so.1.35.0 => not found
> libboost_thread-gcc32-mt-1_35.so.1.35.0 => not found
> libboost_serialization-gcc32-mt-1_35.so.1.35.0 => not found
> libboost_program_options-gcc32-mt-1_35.so.1.35.0 => not found
> libboost_iostreams-gcc32-mt-1_35.so.1.35.0 => not found
> libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00b8e000)
> libm.so.6 => /lib/tls/libm.so.6 (0x007a6000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00179000)
> libc.so.6 => /lib/tls/libc.so.6 (0x00182000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00d66000)
>
Maybe this can help: http://prefetch.net/articles/linkers.badldlibrary.html
Best regards,
Christian
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk