[gdal-dev] Problem with gdal-1.5.3 and FreeBSD 6.2

Matej matej at matnet.net
Wed Nov 12 08:49:58 EST 2008


Hi,

I have a problem with getting gdal to compile on FreeBSD 6.2. My problem is exactly the same as the one described here http://lists.osgeo.org/pipermail/gdal-dev/2007-November/014763.html.

I run configure with:./configure --with-pg=/usr/local/pgsql/bin/pg_config


My configure ouput is
...
GDAL is now configured for i386-unknown-freebsd6.2

  Installation directory:    /usr/local
  C compiler:                gcc -g -O2
  C++ compiler:              g++ -g -O2

  LIBTOOL support:           yes

  LIBZ support:              external
  GRASS support:             no
  CFITSIO support:           no
  PCRaster support:          internal
  NetCDF support:            no
  LIBPNG support:            internal
  LIBTIFF support:           internal (BigTIFF=yes)
  LIBGEOTIFF support:        internal
  LIBJPEG support:           internal
  LIBGIF support:            internal
  OGDI support:              no
  HDF4 support:              no
  HDF5 support:              no
  Kakadu support:            no
  JasPer support:            no
  ECW support:               no
  MrSID support:             no
  GRIB support:              no
  cURL support (wms/wcs/...):yes
  PostgreSQL support:        no
  MySQL support:             no
  Xerces-C support:            no
  Expat support:             yes
  ODBC support:              no
  PGeo support:              no
  OCI support:               no
  SDE support:               no
  DODS support:              no
  SQLite support:            no
  DWGdirect support          no
  PANORAMA GIS support:      no
  INFORMIX DataBlade support:no
  GEOS support:              yes


  Old-gen python          no
  SWIG Bindings:          no

  Statically link PROJ.4:    no
  enable OGR building:       yes
  enable pthread support:    no
  hide internal symbols:     no


When building I get a couple of :not found errors, which look like these:
/bin/sh /home/matej/mapserver/gdal-1.5.3/libtool --mode=link    g++  gdalinfo.o  \
                /home/matej/mapserver/gdal-1.5.3/libgdal.la -o gdalinfo
libtool_args+=: not found
compile_command+=: not found
finalize_command+=: not found
libtool_args+=: not found
libtool_args+=: not found
compile_command+=: not found
finalize_command+=: not found
libtool_args+=: not found
compile_command+=: not found
finalize_command+=: not found
libtool: link: g++  /home/matej/mapserver/gdal-1.5.3/.libs/libgdal.so -L/usr/local/lib /usr/local/lib/libgeos_c.so /usr/local/lib/libgeos.so /usr/local/lib/libexpat.so /usr/local/lib/libcurl.so -lssl -lcrypto -lz -Wl,-rpath -Wl,/usr/local/lib
/usr/lib/crt1.o(.text+0x72): In function `_start':
: undefined reference to `main'
gmake[1]: *** [gdalinfo] Error 1


I can't find any useful idea, I need libtool but I was able to get it to work long time ago on a FreeBSD 6.2 machine. 

I had libtool 1.5 installed and now have 2.2.6, but the error is the same.

I would be very glad for any help whatsoever,
thank you in advance, Matej Serc
matej at matnet.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20081112/acc338a2/attachment.html


More information about the gdal-dev mailing list