[Gdal-dev] cannot make gdal - built in delete error

Mateusz Loskot mateusz at loskot.net
Thu Jul 13 13:37:09 EDT 2006


Sarah Parrott wrote:
> Hi,
> 
>  I had gdal installed fine last week, but now I want to add support for
> mysql.
> 
> I used ./configure
> --with-mysql=/usr/local/mysql-standard-5.0.22-linux-i686/bin/mysql_config
> and that was fine.
> 
> When I issue make, I get errors. This is the end of the output from make:
> 
> g++ ogrinfo.o -o .libs/ogrinfo  /usr/local/gdal-1.3.2/.libs/libgdal.so
> -lpng -lrt -ldl -L/usr/local/lib
> -L/usr/local/mysql-standard-5.0.22-linux-i686/lib -lmysqlclient -lz
> -lcrypt -lnsl -lnss_files -lnss_dns -lresolv
> /usr/local/gdal-1.3.2/.libs/libgdal.so: undefined reference to
> `__builtin_delete'
> collect2: ld returned 1 exit status
> make[1]: *** [ogrinfo] Error 1
> make[1]: Leaving directory `/usr/local/gdal-1.3.2/ogr'
> make: *** [ogr-apps] Error 2
> 
> After this I tried deleted everyting gdal and ogr related from
> usr/local/bin but got the same result. I also tried doing make clean
> first but again the same error.
> 
> The only thing I changed for this install was the mysql stuff.
> 
> Can anyone tell me what this error means?

Sarah,

I'd speculate that this error message you're getting comes is caused by
MySQL. As I understand you downloaded package described as "Linux (x86,
glibc-2.2, "standard" is static, gcc)"
The problem is that the package you are
using - mysql-standard-5.0.22-linux-i686 - is static.

Please, try to download and install mysql package
described as "Linux (x86)" (below the "static" one
and see if you can compile GDAL with success.

Best regards
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list