Project

General

Profile

Support #1295

boost signals link error

Added by Anonymous over 10 years ago. Updated over 10 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/18/2012
Due date:
% Done:

0%

Estimated time:

Description

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.

Any solution?

#1

Updated by Koen Deforche over 10 years ago

  • Status changed from New to Feedback

Hey,

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?

Regards,

Koen

Also available in: Atom PDF