[odb-users] libodb-mysql with MariaDB
Lukas Obermann
obermann.lukas at gmail.com
Thu Mar 1 15:07:39 EST 2018
Thanks Boris!
I created the symlink and the build went threw.
I will definitely give the snapshot a try! Is there already a summary of „what is new“ for the new version? So I know what to look out for.
Thanks,
Lukas
> Am 01.03.2018 um 15:55 schrieb Boris Kolpackov <boris at codesynthesis.com>:
>
> Lukas Obermann <obermann.lukas at gmail.com> writes:
>
>> I know that MariaDB is supported, but how do I actually compile the
>> runtime with it? I search around google and the mailing list but I
>> do not see anything. It always tries to link with libmysqlclient_r.
>
> 2.4.0 was released when MariaDB was pretending to be libmysqlclient_r.
> Lately it's been moving away from this practice though most distributions
> still provide the compatibility symlinks (sometimes as a separate package).
>
> If you feel adventurous, you can try the latest snapshot with build2[1].
> It is capable of building against both runtimes natively (and the
> repository even contains runtimes themselves[2] so you can actually
> build things in a sane manner if you are, say, on Windows).
>
> If you want to give it a try, these are the rough steps:
>
> 1. Get the latest staged build2 toolchain[3] (introduction[4]).
>
> 2. Fetch libodb and libodb-mysql, in libodb-mysql/odb/mysql/buildfile
> change the 'client_lib' setting (this hack is temporary until we
> have proper support for configurations).
>
> [1] https://stage.build2.org/?q=odb
> [2] https://stage.build2.org/?q=mysql
> [3] https://stage.build2.org/0/
> [4] https://build2.org/build2-toolchain/doc/build2-toolchain-intro.xhtml
>
> Boris
More information about the odb-users
mailing list