[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


Hi,

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
'odb::query_base::operator+=(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'

etc.

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


Best Regards,
Wolfgang


More information about the odb-users mailing list