RES: RES: [Mapserver-users] Problems Compiling GDAL1.1.9 + MapServer
Gabriel Moricz
gabriel at autofax.com.br
Mon Apr 12 11:11:16 PDT 2004
Thanks For the Light Daniel...
The error have changed now...hehehehehe..
error:
/usr/bin/ld: warning: libpq.so.3, needed by ../libgdal.1.1.so, not found
(try using -rpath or -rpath-link)
../libgdal.1.1.so: undefined reference to `PQfsize'
../libgdal.1.1.so: undefined reference to `PQresultErrorMessage'
../libgdal.1.1.so: undefined reference to `PQconnectdb'
../libgdal.1.1.so: undefined reference to `PQftype'
../libgdal.1.1.so: undefined reference to `lo_write'
../libgdal.1.1.so: undefined reference to `PQexec'
../libgdal.1.1.so: undefined reference to `PQsetNoticeProcessor'
../libgdal.1.1.so: undefined reference to `PQgetisnull'
../libgdal.1.1.so: undefined reference to `PQntuples'
../libgdal.1.1.so: undefined reference to `lo_read'
../libgdal.1.1.so: undefined reference to `PQclear'
../libgdal.1.1.so: undefined reference to `PQresultStatus'
../libgdal.1.1.so: undefined reference to `PQgetvalue'
../libgdal.1.1.so: undefined reference to `PQstatus'
../libgdal.1.1.so: undefined reference to `PQnfields'
../libgdal.1.1.so: undefined reference to `lo_creat'
../libgdal.1.1.so: undefined reference to `PQfname'
../libgdal.1.1.so: undefined reference to `lo_open'
../libgdal.1.1.so: undefined reference to `lo_close'
../libgdal.1.1.so: undefined reference to `PQfinish'
../libgdal.1.1.so: undefined reference to `PQerrorMessage'
collect2: ld returned 1 exit status
make[1]: *** [ogrinfo] Error 1
make[1]: Leaving directory `/backup/mapserv/gdal-1.1.9/ogr'
make: *** [ogr-apps] Error 2
Any Idea???
Thanks
Gabriel Moricz
Ps: the subscribe at the gdal list is not working..
-----Mensagem original-----
De: Daniel Morissette [mailto:dmorissette at dmsolutions.ca]
Enviada em: segunda-feira, 12 de abril de 2004 14:31
Para: Gabriel Moricz
Cc: mapserver-users at lists.gis.umn.edu
Assunto: Re: RES: [Mapserver-users] Problems Compiling GDAL1.1.9 +
MapServer
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