[gdal-dev] Error building gdal against MySQL

Even Rouault even.rouault at mines-paris.org
Sun Apr 6 14:35:46 PDT 2014


Le dimanche 06 avril 2014 22:36:06, Yves Jacolin a écrit :
> Le dimanche 6 avril 2014, 22:31:40 Even Rouault a écrit :
> > Le dimanche 06 avril 2014 22:28:31, Yves Jacolin a écrit :
> > > Hello,
> > > 
> > > I tried to build gdal from git repository with MySQL:
> > > 
> > > checking for mysql_config... /usr/bin/mysql_config
> > > checking for MySQL... yes
> > > checking load_defaults() in MySQL... configure: error: Cannot find
> > > load_defaults()
> > > 
> > > Any idea?
> > 
> > Which mysql version ?
> > Which Linux distro ?
> 
> Even,
> 
> $ msqyl --version
> mysql  Ver 14.14 Distrib 5.5.35, for debian-linux-gnu (x86_64) using
> readline 6.2
> Distro : Ubuntu 13.10

Yves

hum, I've just installed Ubuntu 13.10 Desktop 64bit in a fresh VM and 
installed the libmysqlclient-dev package and 

./configure --with-mysql

and it works and compiles fine.

So I suspect that it is due to other dependencies you've installed. Could you 
give the full ./configure line with the options you've used and its output ? 
And also the packages.txt file resulting from "dpkg -l > packages.txt"
config.log might also help.

Even

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html


More information about the gdal-dev mailing list