[odb-users] Linker error on Ubuntu 16.04.1 LTS

Wolfgang Haupt haupt.wolfgang at gmail.com
Thu Oct 13 14:05:52 EDT 2016


i found some people posting issues about linker errors on Ubuntu with apt
installed odb.
Seems like I'm experiencing the same issues at the moment:

My Linker line includes: -lodb -lodb-sqlite -lodb-mysql
The libs are definitely there, but I get undefined references to:
odb::statement::process_update(char const*, void const* const*, unsigned
long, unsigned long, char, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'

undefined reference to
std::char_traits<char>, std::allocator<char> > const&)'


Someone else having the same issues?
It works fine if I use the odb.tar.gz though.
Thanks for any hints.

Best Regards,

More information about the odb-users mailing list