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
_______________________________________________
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