Re: [CMake] Removing rpath paths

2018-10-29 Thread Alexander Neundorf
On 2018 M10 28, Sun 18:46:24 CET you wrote: > El 28/10/18 a las 18:32, Alexander Neundorf escribió: > > 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 doubt > > that that's

Re: [CMake] Removing rpath paths

2018-10-28 Thread Gonzalo Garramuño
El 28/10/18 a las 18:32, Alexander Neundorf escribió: 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 doubt that that's the case for you. Yes, I found two libraries with rpath

Re: [CMake] Removing rpath paths

2018-10-28 Thread Alexander Neundorf
On 2018 M10 28, Sun 14:20:40 CET you wrote: > El 28/10/18 a las 13:59, Alexander Neundorf escribió: > > On 2018 M10 28, Sun 10:19:58 CET Gonzalo Garramuño wrote: > > ... > > > >> 3) Why does running 'readelf -d myexecutable | grep RPATH' returns > >> nothing > > > > only grep for "PATH", then

Re: [CMake] Removing rpath paths

2018-10-28 Thread Gonzalo Garramuño
El 28/10/18 a las 13:59, Alexander Neundorf escribió: On 2018 M10 28, Sun 10:19:58 CET Gonzalo Garramuño wrote: ... 3) Why does running 'readelf -d myexecutable | grep RPATH' returns nothing only grep for "PATH", then you also get the newer RUNPATH entry. Alex Thanks.  I tried it but it

Re: [CMake] Removing rpath paths

2018-10-28 Thread Alexander Neundorf
On 2018 M10 28, Sun 10:19:58 CET Gonzalo Garramuño wrote: ... > 3) Why does running 'readelf -d myexecutable | grep RPATH' returns nothing only grep for "PATH", then you also get the newer RUNPATH entry. Alex -- Powered by www.kitware.com Please keep messages on-topic and check the CMake

[CMake] Removing rpath paths

2018-10-28 Thread Gonzalo Garramuño
This is probably something very simple, but I cannot find the answer. I would like to remove all references to rpath and have my executable and libraries be controlled by LD_LIBRARY_PATH. According to the wiki, that's the default behavior. However, I am finding it does not work so I set