[Gdal-dev] 1.2.0a Release
Alessandro Amici
alexamici at fastwebnet.it
Sat Feb 21 09:35:41 EST 2004
Norman,
> Also when gdal is built statically with libtool < perhaps without >
> mapserver will not link because it does not know about the
> GDAL dependency libs in libgdal.lai
>
> perhaps these should be added to the gdal-config script for
> the static case ?
wooops! actually after install the information is present into the file
$prefix/lib/libgdal.la. unfortunatly it is not easily parsed if you happen to
build gdal against other libtool libraries:
# Libraries that this one depends upon.
dependency_libs=' /usr/lib/libodbc.la /usr/lib/libltdl.la -lxerces-c -lmfhdf
-ldf -lgif /usr/lib /libjpeg.la -lpng -lnetcdf -lcfitsio -lz -lpthread -ldl
-L/usr/lib -lpq'
i added a --dep-libs option to gdal-config:
$ gdal-config --dep-libs
-lodbc -lxerces-c -lmfhdf -ldf -lgif -ljpeg -lpng -lnetcdf -lcfitsio -lz
-lpthread -lm -ldl -L/usr/lib -lpq
cheers,
alessandro
More information about the Gdal-dev
mailing list