You copied the Doc URL to your clipboard.

--runpath=pathlist

This option specifies a list of paths to be added to the search paths in the dynamic section. The Linux dynamic linker uses these paths to locate the required Shared Objects.

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

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.

Was this page helpful? Yes No