<div><div>Hey folks,</div><div><br></div><div>I think ticket #140 isn&#39;t quite fixed.</div><div><br></div><div><div>../src/.libs/liblas.so: undefined reference to `VSI_TIFFOpen(char const*, char const*)&#39;</div><div><br>
</div></div><div>This is from building LibLAS 1.2 branch (SVN @1320) on Ubuntu Intrepid, running:</div><div><br></div><div> - GDAL 1.6, backported from Debian GIS. Just the library and headers, no source tree.</div><div> - Libgeotiff 1.2.5, backported from Karmic.</div>
<div><br></div><div>VSI_TIFFOpen() is declared in src/gt_wkt_srs.cpp, but there&#39;s no definition, and it&#39;s not exposed in the symbols from <a href="http://libgdal1.6.0.so">libgdal1.6.0.so</a> (via nm -g -D -C) or in the gdal headers.</div>
<div><br></div><div>OT, has anyone made any progress on debian packaging for liblas? </div><div><br></div><div>Rob :)</div><div><br></div><div>....</div><div><div>Making all in apps</div><div>make[1]: Entering directory `/home/rcoup/liblas/svn_1.2/apps&#39;</div>
<div>/bin/bash ../libtool --tag=CC   --mode=link gcc  -Wall -Wno-long-long -pedantic  -O3 -DNDEBUG   -o lasinfo lasinfo.o lascommon.o ../src/<a href="http://liblas.la">liblas.la</a> -L/usr/lib -lgeotiff -L/usr/lib -lgdal1.6.0 </div>
<div>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/<a href="http://libgdal1.6.0.so">libgdal1.6.0.so</a> /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</div>
<div>../src/.libs/liblas.so: undefined reference to `VSI_TIFFOpen(char const*, char const*)&#39;</div><div>collect2: ld returned 1 exit status</div><div>make[1]: *** [lasinfo] Error 1</div><div>make[1]: Leaving directory `/home/rcoup/liblas/svn_1.2/apps&#39;</div>
<div>make: *** [all-recursive] Error 1</div><div><br></div><div>Config stuff:</div><div><div>$ ./configure --with-gdal --with-geotiff=/usr</div><div>...</div><div><div>checking for GDAL... GDAL enabled with gdal-config found in PATH</div>
<div>/usr/bin/gdal-config reports version 1.6.1</div><div>checking for ST_Create in -lgeotiff... yes</div><div>checking for geo_simpletags.h of libgeotiff &gt;= 1.2.5... yes</div><div>checking for libgeotiff... yes</div><div>
...</div><div><div>libLAS configuration summary:</div><div><br></div><div>  Version..................: 1.2.0</div><div>  Installation directory...: /usr/local</div><div>  C compiler...............: gcc -Wall -Wno-long-long -pedantic  -O3 -DNDEBUG</div>
<div>  C++ compiler.............: g++ -Wall -Wno-long-long -pedantic -std=c++98  -O3 -DNDEBUG</div><div>  Debugging support........: </div><div>  GDAL support.............: yes</div><div>   - gdal-config...........: /usr/bin/gdal-config</div>
<div>   - INCLUDE directories...: -I/usr/include/gdal</div><div>  GeoTIFF SRS support......: yes</div><div>   - libgeotiff............: external</div><div>   - INCLUDE directories...: -I/usr/include/geotiff</div><div><br>
</div><div>  LIBS.....................: -L/usr/lib -lgeotiff -L/usr/lib -lgdal1.6.0 </div><div><br></div><div>  libLAS - <a href="http://liblas.org">http://liblas.org</a></div><div><br></div></div></div></div></div></div>