<div dir="ltr"><div><div><div><div><div>Hi,<br></div>I've been following the guide <a href="http://www.cmake.org/Wiki/CMake_RPATH_handling">http://www.cmake.org/Wiki/CMake_RPATH_handling</a> for using my libraries with my executable on Unix, but even with any combination of them doesn't change the final result:<br>
<br>anexe: error while loading shared libraries: libaname.so.1: cannot open shared object file: No such file or directory<br><br></div>This is running it both installed and in the build tree, even objdump -x anexe|grep RPATH doesn't report anything. The only way I found to make this work is to manually set LINK_FLAGS for each target and set -Wl,-rpath,...<br>
<br></div>What is going on? Why do all variables seem to be ignored?<br></div>I'm using cmake 2.8.10 on ubuntu 12.04 32 bit.<br></div><div>Vittorio<br></div></div>