RES: [Mapserver-users] Problems Compiling GDAL1.1.9 + MapServer

Gabriel Moricz gabriel at autofax.com.br
Mon Apr 12 13:17:43 EDT 2004


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

Thanks


Gabriel Moricz



-----Mensagem original-----
De: Daniel Morissette [mailto:dmorissette at dmsolutions.ca]
Enviada em: segunda-feira, 12 de abril de 2004 13:44
Para: Gabriel Moricz
Cc: mapserver-users at lists.gis.umn.edu
Assunto: Re: [Mapserver-users] Problems Compiling GDAL1.1.9 + MapServer


Gabriel Moricz wrote:
> Hello at all..
>
> Well I am having a problem that is getting me crazy!!!
>
> Well I use the compilation like this:
>
>
./configure --with-libtiff=/usr/local/lib --with-geotiff=/usr/local/lib --wi
>
th-jpeg=/usr/local/lib --with-gif=/usr/lib --with-pg=/usr/local/pgsql/bin/pg
> _config
>
> I found the libs and the directory of each lib is RIGHT..
>

You should not include the 'lib' component in the path to the jpeg and
gif libraries. Try using:

./configure --with-libtiff=/usr/local --with-geotiff=/usr/local
--with-jpeg=/usr/local --with-gif=/usr
--with-pg=/usr/local/pgsql/bin/pg_config

--
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------





More information about the mapserver-users mailing list