The Debian DSO patch is adding a bunch of -l<library> options to the
linker command line, and it's doing that *before* existing *.la files in
the same command line:

-snapper_LDADD = ../snapper/libsnapper.la utils/libutils.la ../dbus/libdbus.la
+snapper_LDADD = ../snapper/libsnapper.la -lboost_thread -lboost_system -lxml2 
-lacl -lz -lm utils/libutils.la ../dbus/libdbus.la

Turns out the libdbus.la file references the libdbus.a static library,
and that one needs symbols from libboost_system which are then not
found.

I believe the correct patch would have been:
-snapper_LDADD = ../snapper/libsnapper.la utils/libutils.la ../dbus/libdbus.la
+snapper_LDADD = ../snapper/libsnapper.la  utils/libutils.la ../dbus/libdbus.la 
-lboost_thread -lboost_system -lxml2 -lacl -lz -lm


I.e., *appending* the -l<library> bits after the .la ones.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1789953

Title:
  ftbfs 0.5.6-1 undefined reference to symbol
  'pthread_condattr_setclock@@GLIBC_2.3.3'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapper/+bug/1789953/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to