[odb-users] ODB Compilation under MinGW

Adrien G adrien_chem at hotmail.com
Tue Jan 21 16:30:59 EST 2014


Hi everyone,
I'm trying to compile odb on windows with gcc. So i'm working under the msys environment.What I have to compile is the following :- libodb-2.3.0              OK- libodb-mysql-2.3.0   KO- libodb-sqlite-2.3.0   KO
For both KOs, the error are the same, I miss the database specific libraries:
configure: error: libmysqlclient_r is not found; consider using CPPFLAGS/LDFLAGS to specify its location
So I download here the mysql connector : http://dev.mysql.com/downloads/connector/c/ for linux generic Linux - Generic (glibc 2.5) (x86, 32-bit), Compressed TAR Archive
My configure command call is as follow :
$./configure CPPFLAGS="-I../libodb-2.3.0/odb -I../../mysqlclient-linux-6.1.3/include" LDFLAGS="-L../../mysqlclient-linux-6.1.3/lib -L../libodb-2.3.0/odb"

ls ../../mysqlclient-linux-6.1.3/lib returns :libmysqlclient.a      libmysqlclient.so.18.2.0  libmysqlclient_r.so.18libmysqlclient.so     libmysqlclient_r.a        libmysqlclient_r.so.18.2.0libmysqlclient.so.18  libmysqlclient_r.so
So the path seems ok, I have no clue what is wrong now, do you have any idea ?
Thank you very much ! :)


 		 	   		  


More information about the odb-users mailing list