Installing liboost-dev on Debian Squeeze gives me several libraries, such as /usr/lib/libboost_thread.so.1.42.0, but not libboost_thread.so. Now I cannot bind using the -lgcc / ld flag because the names do not end with .so.
I noticed that it /usr/libhas many other form libraries libfoo.so.Nwithout libfoo.so, so this is not peculiar to Boost. In the end, I added links libboost_thread.so.1and libboost_thread.sosymbolic links. (The manual page for ldconfigit assumes that it will add links, but did nothing).
Everything works fine, but it feels dirty. What was I supposed to do?
- use one more specific version of the linker that I have not found yet (due to the fact that my make files depend on a specific version number).
- just add symbolic links manually (at the risk of falling under package management).
- some other Debian "right way" for this.
source
share