[gdal-dev] Error building gdal against MySQL

Yves Jacolin yjacolin at free.fr
Mon Apr 21 14:02:28 PDT 2014


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

(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

-- 
Yves Jacolin


More information about the gdal-dev mailing list