[Gdal-dev] more compile issues...

Byron Amerson byronea at u.washington.edu
Tue Nov 4 00:43:55 EST 2003


Hello again,

Thanks Frank, that was indeed the solution to that issue.

please forgive my novice questions here - If this is not the appropriate
forum I would appreciate redirection to the right place,  that being said
I am going to proceed with some questions...thanks.

On a mac running os 10.3.

I have two issues.  The first concerns python.  I used fink to install
python2.3 and numeric.  these live in the directory /sw as opposed to
/usr/local - how can I get gdal to recognize this?  I have had no luck
with the --with-pymoddir modifier for configure. I ended up ditching
python - which I'd rather not do - I am trying to learn this stuff...

second then is an error message from make.  here is how my configure
command looks(note I have many of these libs in /usr/lib and in /sw/lib
but chose to use the stuff included with gdal):

sudo ./configure --with-libz=internal --with-png=internal
-with-libtiff=internal --with-geotiff=internal --with-jpeg=internal
--with-gif=internal --with-pg=/usr/local/pgsql/bin/pg_config
--without-python

and here is the error message:

lots of output above...
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 ./gcore/*.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/ograssemblepolygon.o ./ogr/ogr_api.o
./ogr/ogrsf_frmts/generic/ogrregisterall.o ./ogr/ogrfeaturestyle.o
./ogr/ogrsf_frmts/ogrsf_frmts.a -L/usr/local/pgsql/lib -lpq  ./gdal.a
./ogr/ogr.a ./gdal.a ./port/cpl.a -lm -ldl -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


any help is very much appreciated.

Byron Amerson
MS student
University of Washington
Department of Earth and Space Sciences



More information about the Gdal-dev mailing list