On sexta-feira, 9 de agosto de 2013 17:14:11, Tomasz Olszak wrote:
> Application without changing RPATH in Qt libraries and application binary:
> http://pbrd.co/136t3GI
> 
> This is application after RPATH modification:
> http://pbrd.co/136tyR2

Hi Tomasz

RPATH and deprecated and you should not use it in new applications. You may 
use the newer RUNPATH, which has different semantics (see other thread).

I think the best solution is to use RUNPATH with $ORIGIN, pointing to the 
libraries.

Alternatively, the simplest solution is to replace the main application binary 
with a shell script that sets LD_LIBRARY_PATH.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to