On Ubuntu Oneiric (fresh install with Universe repo enabled):
/usr/bin/ld: /tmp/ccDHQ6ub.o: 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
Errors on Ubuntu Lucid turned out to be nonreproducible.
So the only affected Ubuntu version is Oneiric
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900354
Title:
libwt requires an explicit link
Reporter wrongly assumed Wt libraries would transitively provide third-
party symbols.
** Changed in: witty (Ubuntu)
Status: New = Invalid
** Changed in: witty (Ubuntu)
Assignee: (unassigned) = Pau Garcia i Quiles (pgquiles)
--
You received this bug notification because you are a
Your command line is missing a few -lboost_blahblah
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900354
Title:
libwt requires an explicit link to libboost_signals
To manage notifications about
Hello!
This is actually a problem of Wt, not of code using Wt.
See test case. It does not use boost.signals directly.
I can compile this test on Ubuntu Natty and Debian Squeeze:
g++ -lwt -lwthttp 900354.cpp -o 900354
Errors on Ubuntu Lucid (e.g., undefined reference to
#6
g++ -lwt -lwthttp 900354.cpp -o 900354
is wrong
-l goes at the end:
g++ 900354.cpp -o 900354 -lwt -lwthttp
Please try that and tell me if you still have the problem.
Also, please add the output of:
$ objdump -x /usr/lib/libwt.so
$ objdump -x /usr/lib/libwthttp.so
No need to add
(only for Debian Squeeze with manually built Wt 3.2.1, Ubuntu Lucid will
be latter)
I have tried g++ 900354.cpp -o 900354 -lwt -lwthttp -- the same
result:
/usr/bin/ld: /tmp/ccB6Voar.o: undefined reference to symbol
'boost::signals::trackable::~trackable()'
This is an upstream problem. They are not setting a reduced link
interface:
http://techbase.kde.org/Development/CMake_KDE_4_2#New:_The_reduced_link_interface
http://cmake.org/cmake/help/v2.8.8/cmake.html#command:target_link_libraries
I'll talk to upstream and we may work on it this summer but
How is this a bug in Wt? It looks more like a bug in your application's
build system :-? You should never count on a shared library providing
third-party symbols.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900354
Title:
libwt requires an explicit link to libboost_signals
To manage notifications about this bug go to:
My build system is a command line in a fresh installed Ubuntu.
Something like:
g++ -o application file1.c++ file2.c++ -lwt -lwthttp
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900354
Title:
libwt
11 matches
Mail list logo