yes, I think I read that it is possible to define multiple rpaths with install_name_tool
> On 8 Jan 2019, at 10:46, Rony G. Flatscher <rony.flatsc...@wu.ac.at> wrote: > > Would it be possible to define RPATH such, that it always looks in the > directories ".", "./lib", > "../lib", "/usr/local/lib" (maybe even "/opt/local/lib") for the needed > libraries? > > This way a USB-stick version may have the executables in the same directory > or lib in a companion or > subdirectory. > > Currently, after a "make install" one cannot relocate the resulting binaries. > Using the binaries > from the "make" step forces one to have "lib" in a sibling directory. > > Probably with the help of > <https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/RPATH-handling> > this could be solvable. > Alternatively, if one has XCode installed, one might use "install_name_tool" > to manipulate all rpath > definitions. Another alternative would be to set DYLD_LIBRARY_PATH. > > What do you think, which solution would be preferable? > > ---rony > > > > > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel _______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel