Hi, Thanks! I read too quickly: I saw "mapserver" but my mind retained "gdal." In any case, all seems to be good. I re-built geos and gdal, and then built mapserver successfully.
Thanks again, Greg P.S. - Apologies to the list if this comes as a separate thread. Gmail seems to not reply-to correctly. On Thu, Jan 6, 2011 at 10:40 AM, Patricio Cifuentes Ithal <[email protected]> wrote: > Hi!, > Recompilling gdal and all libraries necesaries for mapserver with > ./configure --with-libdir=/usr/lib64 > > Patricio Cifuentes Ithal > Ingeniero en Informática > Unidad de Informática > Fono : 02 - 334 73 69 > www.siigsa.cl > > -----Mensaje original----- > De: MIT Sea Grant [mailto:[email protected]] > Enviado el: miércoles, 05 de enero de 2011 18:46 > Para: [email protected] > CC: [email protected] > Asunto: Re: [mapserver-users] make error: /usr/local/lib/libgdal.so: > undefined reference to `GEOSFree' > > Thank you, and apologies for the delay in response. > > Unfortunately, gdal is giving the same undefined reference error. Using: > > ./configure --libdir=/usr/lib64 --with-ogr --with-png=internal > --with-jpeg=internal --with-geotiff=internal --with-libtiff=internal > --with-gif=internal --with-libz=internal > --with-curl=/usr/bin/curl-config > --with-geos=/usr/local/bin/geos-config --with-pg=/usr/bin/pg_config > --with-expat=/usr/lib64 && make && make install > > I get: > > ... > libtool: link: g++ .libs/gdalinfo.o -o .libs/gdalinfo > /usr/local/src/20101216-builds/gdal-1.7.3/.libs/libgdal.so -Wl,-rpath > -Wl,/usr/lib64 > /usr/local/src/20101216-builds/gdal-1.7.3/.libs/libgdal.so: undefined > reference to `GEOSFree' > collect2: ld returned 1 exit status > make[1]: *** [gdalinfo] Error 1 > make[1]: Leaving directory `/usr/local/src/20101216-builds/gdal-1.7.3/apps' > make: *** [apps-target] Error 2 > > So then I re-configure, excluding --with-libdir and it builds fine, > but MapServer still gives the error. > > Not sure what next. Any further advice appreciated... > > On Thu, Dec 23, 2010 at 8:37 AM, Patricio Cifuentes Ithal > <[email protected]> wrote: >> Re-compiling gdal... >> >> ./configure --libdir=/usr/lib64/ >> >> And all the libraries necesarie recompiling >> >> Patricio Cifuentes Ithal >> Ingeniero en Informática >> Unidad de Informática >> Fono : 02 - 334 73 69 >> www.siigsa.cl >> >> -----Mensaje original----- >> De: [email protected] >> [mailto:[email protected]] En nombre de MIT Sea > Grant >> Enviado el: miércoles, 22 de diciembre de 2010 17:17 >> Para: [email protected] >> Asunto: [mapserver-users] make error: /usr/local/lib/libgdal.so: undefined >> reference to `GEOSFree' >> >> Hello, >> >> We are getting the following Make error when trying to build on Red >> Hat Enterprise Linux 5 (x86_64): >> /usr/local/lib/libgdal.so: undefined reference to `GEOSFree' >> collect2: ld returned 1 exit status >> make: *** [shp2img] Error 1 >> >> We think we have everything linked correctly, but the problem >> persists. Any help appreciated. >> >> Thanks, >> >> Greg >> _______________________________________________ >> mapserver-users mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> -- >> Este mensaje ha sido analizado por MailScanner >> en busca de virus y otros contenidos peligrosos, >> y se considera que está limpio. >> >> >> -- >> Este mensaje ha sido analizado por MailScanner >> en busca de virus y otros contenidos peligrosos, >> y se considera que está limpio. >> >> > > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
