[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] Removing rpath paths
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2018-10-29 21:17:05
Message-ID: 13293546.KdsKXms4oB () linux-l7nd
[Download RAW message or body]

On 2018 M10 28, Sun 18:46:24 CET you wrote:
> El 28/10/18 a las 18:32, Alexander Neundorf escribi=F3:
> > well, then you do have some RPATH/RUNPATH somewhere ;-). As you say
> > probably in the libraries.
> > ld.so.conf could also contains additional search directories, but I dou=
bt
> > that that's the case for you.
> =

> Yes, I found two libraries with rpath in them.  I used the commandline:
> =

> chrpath -d library
> =

> to remove it.  Now all is fine with the world.

Ok.
Then actually you shouldn't need any RPATH settings.
The default by cmake is that you get the full RPATH in the build tree and a=
n =

empty RPATH in the install tree.

Alex



-- =


Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.=
org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more in=
formation on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensour=
ce/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic