[Liblas-devel] Build errors while building apps

Froumis, James A (US SSA) james.froumis at baesystems.com
Thu Jul 16 19:47:23 EDT 2009


Hello,

 

I'm getting the following build errors while the apps are compiling in
liblas 1.2.0 on 64-bit Linux:

 

../src/.libs/liblas.so: undefined reference to
`SetGeogCSCitation(gtiff*, OGRSpatialReference*, char*, int, short)'

../src/.libs/liblas.so: undefined reference to `SetCitationToSRS(gtiff*,
char*, int, geokey_t, OGRSpatialReference*, int*)'

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

../src/.libs/liblas.so: undefined reference to
`GetGeogCSFromCitation(char*, int, geokey_t, char**, char**, char**,
char**, char**)'

 

I configured liblas using this command:

 

./configure --with-gdal=/usr/local --with-geotiff=/usr/local

 

Which prints this configuration at the end:

 

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/local/bin/gdal-config

   - INCLUDE directories...: -I/usr/local/include/gdal

  GeoTIFF SRS support......: yes

   - libgeotiff............: external

   - INCLUDE directories...: -I/usr/local/include/geotiff

 

  LIBS.....................: -L/usr/local/lib -lgeotiff -L/usr/local/lib
-lgdal 

 

I have version 1.2.5 of libgeotiff, and version 1.6.0 of libgdal, and
they were both built on this same machine. 

 

Any ideas what might be causing this link error? I have used this same
configuration command and libgdal / libgeotiff libraries to build
previous versions of liblas (1.0.0) with no problems.

 

Thank you,

Jim Froumis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/liblas-devel/attachments/20090716/1f541fef/attachment.html


More information about the Liblas-devel mailing list