[Interest] Error: /opt/qt-5.5.0/lib/libQt5*: undefined reference
Thiago Macieira
thiago.macieira at intel.com
Tue Mar 8 18:31:16 CET 2016
On terça-feira, 8 de março de 2016 21:50:05 PST Nilesh Kokane wrote:
> > The order of the paths in -rpath-link is wrong. You need the one with the
> > most recent libraries to show up first.
>
> env PATH didn't help to change the -rpath-link sequence /usr still
> precedes /opt.
PATH doesn't affect linking order. I think LD_LIBRARY_PATH helps, but -rpath-
link takes precedence. You need to change the order.
> Is there a way to change the sequence?
You're using CMake, therefore that's a CMake question.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list