Hi,

Thanks - it works if I compile --without-libtool

Whats the drawback of not including libtool? I do not understand whether it is important/necessary.

Thanks,
Andreas

On Thu, 14 Jul 2011 18:33:31 +0200, Even Rouault wrote:
Selon Andreas Neumann <a.neum...@carto.net>:

 Hi,

 I tried to compile the most-recent gdal-svn with the most recent
 geos-svn and got the following error message during compilation:

 /bin/grep: /usr/lib/libgeos_c.la: No such file or directory
/bin/sed: can't read /usr/lib/libgeos_c.la: No such file or directory libtool: link: `/usr/lib/libgeos_c.la' is not a valid libtool archive
 make[1]: *** [libgdal.la] Error 1
 make[1]: Leaving directory `/home/an/dev/cpp/gdal'
 make: *** [check-lib] Error 2

Also, i pointed gdal to geos in /usr/local/lib, not in /usr/lib with
 the configure params.

It might be that there's some -L/usr/lib that found its way in the
linking line,
due to another unrelated lib located there.

I somehow remember having being caught by this libgeos_c.la issue,
and I believe
I just renamed that file to something else. An alternative would be to build
GDAL --without-libtool.


 Do you have any idea on how I can resolve the issue?

 Here are my configure params:

 ./configure --with-python --with-curl --with-expat
 --with-libtiff=internal --with-geos=/usr/local/bin/geos-config
 --with-pg=/usr/local/pgsql/bin/pg_config --with-xerces
 --with-oci-lib=/usr/local/lib/instantclient_10_2
 --with-oci-include=/usr/local/lib/instantclient_10_2/sdk/include
 --with-mysql --with-jpeg=internal --with-sqlite --with-spatialite
 --with-grass=/usr/local/grass-6.4.0RC5/

 Thanks,
 Andreas

--
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to