Do you have a simple test case and build command to reproduce this,
please?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libxml++2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1511126

Title:
  Cannot link on wily against this package (symbols not found)

Status in libxml++2.6 package in Ubuntu:
  Confirmed

Bug description:
  I using a package config file an try to link against this project.

  All symbols are resolves correclty expect:

  libtest.so: undefined reference to
  `xmlpp::Node::get_children(Glib::ustring const&)'

  
  a ldd -r call gives:

  undefined symbol: _ZN5xmlpp4Node12get_childrenERKN4Glib7ustringE
  (build/src/libtest.so)

  demangle the symbol:

  $ c++filt _ZN5xmlpp4Node12get_childrenERKN4Glib7ustringE
  xmlpp::Node::get_children(Glib::ustring const&)

  Getting symbols from the library:

  $ objdump -T --demangle /usr/lib/x86_64-linux-gnu/libxml++-2.6.so.2 | grep 
get_children
  000000000001c030 g    DF .text        000000000000003b  Base        
xmlpp::Node::get_children[abi:cxx11](Glib::ustring const&) const
  000000000001bea0 g    DF .text        0000000000000189  Base        
xmlpp::Node::get_children[abi:cxx11](Glib::ustring const&)

  This is really strange, i compiles my lib with:
  /usr/bin/clang++-3.7  -fPIC   -shared -Wl,-soname,libtest.so -o libtest.so 
CMakeFiles/test.dir/XML.cpp.o /usr/lib/x86_64-linux-gnu/libxml++-2.6.so.2 
-Wl,-rpath,:::::::::::::: 

  
  I don't know why this library is not linked correctly. It is strange that my 
library creates a non-cxx11 abi namespaced version.
  For me this seems like a bug in the provided symbols from libxml++2.6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxml++2.6/+bug/1511126/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to