Public bug reported:

Hi,

I am getting undefined symbols when linking an application to
libwildmagic:

/usr/bin/c++    -fopenmp  -O3 -DNDEBUG    -fopenmp [...] -o
bin/someapplication -rdynamic somelib.so -lQtNetwork -lQtCore -lsvm
-lxerces-c -Wl,-Bstatic -lboost_iostreams -lboost_date_time
-lboost_math_c99 -lboost_regex -Wl,-Bdynamic -lWm5Core -lWm5Mathematics
-lbz2 -lz -lglpk -Wl,-rpath,/path/to/lib:

/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libWm5Mathematics.so: undefined 
reference to `Wm5::FileIO::operator bool() const'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libWm5Mathematics.so: undefined 
reference to `Wm5::FileIO::Read(unsigned long, void*)'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libWm5Mathematics.so: undefined 
reference to `Wm5::FileIO::Write(unsigned long, int, void const*)'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libWm5Mathematics.so: undefined 
reference to `Wm5::FileIO::FileIO(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, int)'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libWm5Mathematics.so: undefined 
reference to `Wm5::FileIO::Read(unsigned long, int, void*)'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libWm5Mathematics.so: undefined 
reference to `Wm5::FileIO::Write(unsigned long, void const*)'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libWm5Mathematics.so: undefined 
reference to `Wm5::FileIO::~FileIO()'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libWm5Mathematics.so: undefined 
reference to `Wm5::FileIO::Close()'
collect2: error: ld returned 1 exit status

It has been reported that compiling wildmagic from sources works in this case:
https://github.com/OpenMS/OpenMS/issues/1483 so it could be specific to the 
packaging.

Yours,
Steffen

** Affects: libwildmagic (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Undefined Symbols when linking to wildmagic

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to