[odb-users] linkage problems using mysql database
boris at codesynthesis.com
Tue Jan 17 09:12:37 EST 2017
Amir Developer <amir.thedev at gmail.com> writes:
> I'm trying to compile and link the hello sample but with no luck.
> Env: Ubuntu 16.04.1 LTS
> Compiler: g++ 5.4.0
> odb: installed through APT version 2.4.0
> database: MySQL
This is a known Ubuntu bug:
> tried a locally compiled version of odb-mysql.so too but that didn't help
> same error
You need to compile both libodb and libodb-mysql with the same compiler.
Just compiling libodb-mysql and using libodb from APT won't work.
More information about the odb-users