boost signals link error
I have just installed ubuntu 12.04 and the last version of wt from git. Ubuntu come with boost 1.46.1. I have several applications using witty, but I could not compile them on this new environment. I have got the following error messages:
Linking CXX executable MyAppl
/usr/bin/ld: /usr/local/lib/libwt.so: undefined reference to symbol 'boost::signals::trackable::~trackable()'
/usr/bin/ld: note: 'boost::signals::trackable::~trackable()' is defined in DSO /usr/lib/libboost_signals.so.1.46.1 so try adding it to the linker command line
/usr/lib/libboost_signals.so.1.46.1: could not read symbols: Invalid operation
I have tried to find any solution, but I could not. I found only that, this message related the orders of libraries to be linked, but this order cannot be changed using cmake.
Updated by Koen Deforche over 11 years ago
- Status changed from New to Feedback
The issue has been confirmed and apparently requires improvements to our build.
As a workaround, you can include boost_signals in your link command? Could you confirm if this works as a workaround?