RES: [Mapserver-users] Problems Compiling GDAL1.1.9 + MapServer
Daniel Morissette
dmorissette at dmsolutions.ca
Mon Apr 12 10:30:38 PDT 2004
Gabriel Moricz wrote:
> Got the same error again...
>
> I dont know what more I must do...
>
> Error:
>
> make[1]: Entering directory `/backup/mapserv/gdal-1.1.9'
> g++ -shared ./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 -L/usr -L/usr/lib -lgif -L/usr/local -L/usr/local/lib -ljpeg -L
> /usr/local/lib -lgeotiff -L/usr/local/lib -ltiff -lpng -lz -lm -ldl -lm \
> -o ./libgdal.1.1.so
> /usr/bin/ld: cannot find -lgif
> collect2: ld returned 1 exit status
> make[1]: *** [libgdal.1.1.so] Error 1
> make[1]: Leaving directory `/backup/mapserv/gdal-1.1.9'
> make: *** [check-lib] Error 2
>
It's quite likely that you don't have a libgif.so in your lib directory.
But anyway, since this is a GDAL-specific questions you'll have more
chances of getting this resolved on the GDAL-dev list
(http://remotesensing.org/mailman/listinfo/gdal-dev)
BTW, this might be resolved in the latest GDAL 1.2.0 release, so you
might want to try that one.
--
------------------------------------------------------------
Daniel Morissette dmorissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list