[odb-users] Linker error on Ubuntu 16.04.1 LTS
sean.clarke at sec-consulting.co.uk
Thu Oct 13 14:42:08 EDT 2016
or perhaps with the use old ABI flags enabled. I could compile myself from
the same source and it would work fine.
On 13 Oct 2016 7:40 pm, "Wolfgang Haupt" <haupt.wolfgang at gmail.com> wrote:
> You mean the libs shipped with Ubuntu are not compiled with the C++11
> Good point, thanks.
> Sean Clarke <sean.clarke at sec-consulting.co.uk> schrieb am Do., 13. Okt.
> 2016 um 20:38 Uhr:
>> I believe this is related to the libs not being compiled with the
>> C++11 flags, hence the ABI errors.
>> Sean Clarke
>> On 13 Oct 2016 7:08 pm, "Wolfgang Haupt" <haupt.wolfgang at gmail.com>
>> 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