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

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to