I need to link with some of Boost's shared library (.so
) files. I have installed boost by running
sudo apt-get install libboost-all-dev
The header files and static libraries are installed correctly. The shared libraries are also installed however they contain no symbols.
$ nm /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
nm: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so: no symbols
How is this possible and how can I fix it? I understand that this is a vague issue, but I have tried apt-get clean
and completely removing and purging all boost debian packages and reinstalling and I always get the same result. Compiling Boost from source and installing a separate version is not ideal.