<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 23, 2014 at 2:53 PM, Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><br>
Vaclav Petras wrote:<br>
<br>
> So the test failed with segmentation fault<br>
<br>
</div>Possibly due to linking with gcc rather than g++. But that doesn't<br>
matter, as configure tests don't normally try to execute the program<br>
(that doesn't work if you're cross-compiling); they only care whether<br>
linking succeeds.<br>
<div class=""><br></div></blockquote><div><br></div><div>I have to remember this gcc vs g++ possible issue and that ./cofigure does not execute. However, it did not helped me now. My sample program still segfaults when compiled with g++.<br>

</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">
> but it would actually fail<br>
> during compilation if I would use `liblas-config --libs` because the boost<br>
> libraries are `libboost_program_options.so.1.54.0` on my computer while<br>
> `liblas-config --libs` says just `libboost_program_options.so` (same for<br>
> thread library).<br>
<br>
</div>You may need to install a -devel package, e.g. boost-devel or<br>
whatever.<br>
<br>
Typically, the unversioned symlink is in the -devel package, as it's<br>
only needed for compiling programs which use the library; running them<br>
will use either the library itself or a symlink which includes at<br>
least the major version number.<br>
<span class=""></span></blockquote><div> </div>I installed libboost-thread-dev and libboost-program-options-dev and 
compilation works with $(liblas-config --libs) $(liblas-config 
--includes). So, it should work in ./configure but the result is still 
"libLAS support: no".<br><br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><font color="#888888">
--<br>
Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>
</font></span></blockquote></div><br></div></div>