[Development] linuxdeployqt
Thiago Macieira
thiago.macieira at intel.com
Wed Sep 21 17:02:32 CEST 2016
On quarta-feira, 21 de setembro de 2016 11:06:59 PDT Konrad Rosenbaum wrote:
> RPath may be a bit tricky: normally Qt compiles it's lib path into RPath,
> but with a deploy script you do not want that RPath anymore, instead you'd
> want to change it to $ORIGIN (literally, not the value of a variable).
Don't change. If you want $ORIGIN, you tell the linker you want it.
Also, RPATH is tricky, but for another reason:
- If DT_RUNPATH is present, check $LD_LIBRARY_PATH first and ignore DT_RPATH
- if only DT_RPATH is present, check it before $LD_LIBRARY_PATH
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list