Top "Rpath" questions

rpath is an option used with the runtime linker (ld.

How to set dylib search path OSX

I have a project in Xcode where I set DYLD_FALLBACK_LIBRARY_PATH in the environment variables pane to set …

macos linker cmake dyld rpath
Setting RPATH order in QMake

I have a Linux Qt program. I'd like it to preferentially use the (dynamic) Qt libraries in the executable's directory …

linux qt qmake rpath
shared library locations for matlab mex files:

I am trying to write a matlab mex function which uses libhdf5; My Linux install provides libhdf5-1.8 shared libraries …

gcc matlab mex hdf5 rpath
MacOSX: which dynamic libraries linked by binary?

I have not been able to figure out why my binary is not loading. It is a dylib loaded by …

macos ldd rpath otool
CMAKE RPATH with packaging

I am creating package using cmake I am having following structure bin/ bin1 lib/ lib1 lib2 Where lib1 and lib2 …

cmake rpath
@rpath for a dynamic library embedded in a framework

I have an app, call it Animal.app. Inside its Contents/Frameworks folder is a framework, say Mammal.framework. And …

macos dynamic-linking rpath
How to get RPATH with $ORIGIN to work on Code::Blocks GCC?

I'm trying to link an RPATH containing the special string $ORIGIN into an executable built using GCC with the Code::…

command-line gcc linker codeblocks rpath
rpath of a shared object file

The rpath of an executable specifies one or more directories wherein to look for shared objects at runtime. My question …

linux shared-libraries rpath
Developing Qt applications in Unix systems using Qt Creator

I'm developing a Qt application in Linux using Qt Creator (2.1 RC). I've created 2 projects, and used the wizard to add …

qt shared-libraries qmake rpath
Building a simple (hello-world-esque) example of using ld's option -rpath with $ORIGIN

Note: Full working example now below. Original question follows: I'm having problems using ld's -rpath parameter with $ORIGIN. As I …

linux gcc linker rpath