Re: Confused about linking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lrtaylor@xxxxxxxxxx wrote:
-lxx causes the linker to look first for libxx.so and then libxx.a, unless you override that default by specifying the appropriate actions.  In this case, with -lboost_thread, it's going to look for libboost_thread.so and then libboost_thread.a.  However, neither of them exists - instead, you have libboost_thread.so.1.  Create a symbolic link in /usr/lib named libboost_thread.so to libboost_thread.so.1, and you should be OK.

For example, execute the following commands:

su (must be logged in as root)
cd /usr/bin
ln -s libboost_thread.so.1 libboost_thread.so


Thanks everyone! When creating the symbolic link everything works fine! Now why didn't I try that in the first place? =)


:.:: mattias

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux