[gdal-dev] Error building gdal against MySQL

Even Rouault even.rouault at mines-paris.org
Mon Apr 21 14:19:37 PDT 2014


Le lundi 21 avril 2014 23:02:28, Yves Jacolin a écrit :
> Even,
> 
> All is working fine now (ubuntu 14.04 now)
> 
> I have only the known error:
> 
> ERROR 1: ogrinfo was compiled against GDAL 1.11 but current library version
> is 1.12

since the version number is upgraded in trunk you have to do a full rebuild :
--> make clean; make


> 
> (From git repository)
> 
> Y.
> 
> Le dimanche 6 avril 2014, 23:35:46 Even Rouault a écrit :
> > 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