[odb-users] Linker error on Ubuntu 16.04.1 LTS

Sean Clarke sean.clarke at sec-consulting.co.uk
Thu Oct 13 14:38:11 EDT 2016


Hi,
    I believe this is related to the libs not being compiled with the C++11
flags, hence the ABI errors.

Regards
Sean Clarke

On 13 Oct 2016 7:08 pm, "Wolfgang Haupt" <haupt.wolfgang at gmail.com> wrote:

> 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