[Liblas-devel] liblas fails to compile

Howard Butler hobu.inc at gmail.com
Mon Aug 23 17:12:14 EDT 2010


On Aug 23, 2010, at 4:01 PM, Tommy Stehle wrote:

> The results are attached from the verbose compile...
> 

> cd /home/tstehle/liblas/main/apps && /usr/bin/cmake -E cmake_link_script
> CMakeFiles/las2las2.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -Wall
> -Wno-long-long -ansi -std=c++98 CMakeFiles/las2las2.dir/las2las2.cpp.o
> CMakeFiles/las2las2.dir/laskernel.cpp.o -o ../bin/las2las2 -rdynamic
> -L/usr/lib/oracle/11.2/client64/lib ../bin/liblas.a /usr/local/lib/libtiff.so
> /usr/local/lib/libgeotiff.so /usr/local/lib/libgdal.so
> /usr/lib/oracle/11.2/client64/lib/libclntsh.so
> /usr/lib/oracle/11.2/client64/lib/libocci.so -lnnz11
> -lboost_program_options-mt
> -Wl,-rpath,/usr/local/lib:/usr/lib/oracle/11.2/client64/lib:
> 

hmph.  Looks like it is attempting to link it.  I presume your boost libs are installed in /usr/local/lib ?

I'm stumped here.  It's like *some* of the boost program_options is being linked but not all of it.  My Oracle + boost 1.44 build on linux (Oracle Enterprise Linux) using gcc 4.1.2 seems to compile just fine. 

How did you configure/install boost, and which version of cmake are you using?

Howard


More information about the Liblas-devel mailing list