[odb-users] ODB Compilation under MinGW
Boris Kolpackov
boris at codesynthesis.com
Wed Jan 22 03:35:45 EST 2014
Hi Adrien,
Adrien G <adrien_chem at hotmail.com> writes:
> configure: error: libmysqlclient_r is not found
> So I download here the mysql connector for linux generic Linux [...]
If I undrstand you correctly, you are building on MinGW/Windows and you
downloaded a pre-built MySQL library for Linux. That's not going to work.
You cannot use Linux libraries on Windows.
What you need to do is download the MySQL client for Windows (that was
built with VC++). Then rename libmysql.lib to libmysqlclient_r.a.
For SQLite, you will need to build the library from source for MinGW.
Get the sqlite-autoconf package and then use configure & make under
MSYS to build it for MinGW.
Boris
More information about the odb-users
mailing list