How do I get rid of LD_LIBRARY_PATH at run-time?

Posted by Kjir on Stack Overflow See other posts from Stack Overflow or by Kjir
Published on 2010-03-20T18:44:58Z Indexed on 2010/03/20 18:51 UTC
Read the original article Hit count: 259

Filed under:
|
|
|
|

I am building a C++ application that uses Intel's IPP library. This library is installed by default in /opt and requires you to set LD_LIBRARY_PATH both for compiling and for running your software (if you choose the shared library linking, which I did). I already modified my configure.ac/Makefile.am so that I do not need to set that variable when compiling, but I still can't find the shared library at run-time; how do I do that?

I'm compiling with the -Wl, -R/path/to/lib flag using g++

© Stack Overflow or respective owner

Related posts about ipp

Related posts about g++