You copied the Doc URL to your clipboard.

--runpath=pathlist

Specifies a list of paths to be added to the search paths in the dynamic section.

Syntax

--runpath=pathlist

Where pathlist is a comma-separated list of paths. Do not include spaces between the comma and the path name when specifying multiple path names, for example, path1,path2,path3,…,pathn.

Usage

The Linux dynamic linker uses the search paths to locate the required shared objects.

You can use the GNU ld option --rpath as an alias for --runpath.

Was this page helpful? Yes No