Thanks for the report Rob.  Reopened.

http://liblas.org/ticket/140

On Jul 27, 2009, at 10:44 PM, Robert Coup wrote:

Hey folks,

I think ticket #140 isn't quite fixed.

../src/.libs/liblas.so: undefined reference to `VSI_TIFFOpen(char const*, char const*)'

This is from building LibLAS 1.2 branch (SVN @1320) on Ubuntu Intrepid, running:

- GDAL 1.6, backported from Debian GIS. Just the library and headers, no source tree.
 - Libgeotiff 1.2.5, backported from Karmic.

VSI_TIFFOpen() is declared in src/gt_wkt_srs.cpp, but there's no definition, and it's not exposed in the symbols from libgdal1.6.0.so (via nm -g -D -C) or in the gdal headers.

OT, has anyone made any progress on debian packaging for liblas?

Rob :)

....
Making all in apps
make[1]: Entering directory `/home/rcoup/liblas/svn_1.2/apps'
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -Wno-long- long -pedantic -O3 -DNDEBUG -o lasinfo lasinfo.o lascommon.o ../ src/liblas.la -L/usr/lib -lgeotiff -L/usr/lib -lgdal1.6.0 libtool: link: gcc -Wall -Wno-long-long -pedantic -O3 -DNDEBUG - o .libs/lasinfo lasinfo.o lascommon.o ../src/.libs/liblas.so -L/usr/ lib -L/usr/lib/mysql -lgeotiff /usr/lib/libgdal1.6.0.so /usr/lib/ libgeos_c.so /usr/lib/libgeos.so /usr/lib/libsqlite3.so /usr/lib/ libodbc.so /usr/lib/libodbcinst.so /usr/lib/libltdl.so /usr/lib/ libexpat.so -lxerces-c /usr/lib/libjasper.so /usr/lib/libhdf5.so - logdi /usr/lib/libgif.so /usr/lib/libjpeg.so -lpng -lnetcdf -lpq - ldl /usr/lib/libcurl-gnutls.so /usr/lib/libidn.so -lldap -lrt -lkrb5 -lk5crypto -lcom_err -lgssapi_krb5 /usr/lib/libgnutls.so /usr/lib/ libtasn1.so /lib/libgcrypt.so /usr/lib/libmysqlclient.so -lm - lpthread -lcrypt -lnsl -lz ../src/.libs/liblas.so: undefined reference to `VSI_TIFFOpen(char const*, char const*)'
collect2: ld returned 1 exit status
make[1]: *** [lasinfo] Error 1
make[1]: Leaving directory `/home/rcoup/liblas/svn_1.2/apps'
make: *** [all-recursive] Error 1

Config stuff:
$ ./configure --with-gdal --with-geotiff=/usr
...
checking for GDAL... GDAL enabled with gdal-config found in PATH
/usr/bin/gdal-config reports version 1.6.1
checking for ST_Create in -lgeotiff... yes
checking for geo_simpletags.h of libgeotiff >= 1.2.5... yes
checking for libgeotiff... yes
...
libLAS configuration summary:

  Version..................: 1.2.0
  Installation directory...: /usr/local
C compiler...............: gcc -Wall -Wno-long-long -pedantic -O3 -DNDEBUG C++ compiler.............: g++ -Wall -Wno-long-long -pedantic - std=c++98 -O3 -DNDEBUG
  Debugging support........:
  GDAL support.............: yes
   - gdal-config...........: /usr/bin/gdal-config
   - INCLUDE directories...: -I/usr/include/gdal
  GeoTIFF SRS support......: yes
   - libgeotiff............: external
   - INCLUDE directories...: -I/usr/include/geotiff

LIBS.....................: -L/usr/lib -lgeotiff -L/usr/lib - lgdal1.6.0

  libLAS - http://liblas.org

_______________________________________________
Liblas-devel mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/liblas-devel

_______________________________________________
Liblas-devel mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/liblas-devel

Reply via email to