[Mapserver-users] building gdal 1.1.8 on Mac OS X 10.2.6

John Oram mapserver at oram.com
Sat May 10 17:32:22 PDT 2003


Hi-

In the archives,

	http://lists.dmsolutions.ca/pipermail/mapserver-users/2002-February/ 
000556.html

Puneet had problems compiling gdal.  The errors are similar to mine,  
but there wasn't a followup as far as I could see.

I applied the changed to the GDALmake.opt file:

	http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MacOS

But I see some sort of error with libtool and libgdal.1.1.dylib at the  
end.  I copied it below.  I'm not sure what to do at this point.

Also, what are the standard flags to use with ./configure and gdal?  I  
turned off python, but am unsure what other things are required or  
unnecessary.  (My primary motivation with gdal is to be able to import  
and export shapefiles...)

Thanks,
   John

ranlib ./gdal.a
ranlib: file: ./gdal.a(pnggccrd.o) has no symbols
ranlib: file: ./gdal.a(pngvcrd.o) has no symbols
ranlib: file: ./gdal.a(tif_pixarlog.o) has no symbols
ranlib: file: ./gdal.a(cpl_vsil_unix_stdio_64.o) has no symbols
make ./libgdal.1.1.dylib
gcc -dynamiclib ./frmts/o/*.o ./core/*.o ./port/*.o ./alg/*.o  
./ogr/ogrct.o ./ogr/ogr_opt.o ./ogr/ogr_fromepsg.o  
./ogr/ogr_srs_validate.o ./ogr/ogrutils.o ./ogr/ogr_srs_proj4.o  
./ogr/ogr_api.o ./ogr/ogrsf_frmts/generic/ogrregisterall.o  
./ogr/ogrfeaturestyle.o ./ogr/ogrsf_frmts/ogrsf_frmts.a  ./gdal.a  
./ogr/ogr.a ./gdal.a ./port/cpl.a -lz -lm -ldl -L/usr/local/lib -lm -o  
./libgdal.1.1.dylib
ld: Undefined symbols:
vtable for __cxxabiv1::__class_type_info
vtable for __cxxabiv1::__si_class_type_info
operator delete(void*)
operator new(unsigned long)
___gxx_personality_v0
operator delete[](void*)
operator new[](unsigned long)
___cxa_pure_virtual
vtable for __cxxabiv1::__vmi_class_type_info
/usr/bin/libtool: internal link edit command failed
make[1]: *** [libgdal.1.1.dylib] Error 1
make: *** [check-lib] Error 2




More information about the MapServer-users mailing list