[Liblas-devel] Build errors while building apps

Froumis, James A (US SSA) james.froumis at baesystems.com
Thu Jul 23 17:38:08 EDT 2009


Howard,

 

Thanks for the help. Unfortunately, downloading and installing the
latest version of libgdal (1.6.1) and using the configure arguments you
specified did not solve the problem. I am still getting the same errors.
Is there something else I am missing?

 

Thanks,

Jim Froumis

 

> James,

> 

> Please subscribe to the mailing list before posting.

> 

> Try configuring --with-gdal=/usr/local/bin/gdal-config

> 

> Additionally, these errors usually mean that the GDAL version is too
old (I think 1.6+ is required).  > I hope to fix this in a 1.2.1 release
to add these functions if they are not available.

> 

> Hope this helps,

> 

> Howard

 

On Jul 16, 2009, at 6:47 PM, Froumis, James A (US SSA) wrote:

 

>> 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/20090723/6c0ebb9b/attachment-0001.html


More information about the Liblas-devel mailing list