On quarta-feira, 21 de setembro de 2016 10:11:01 PDT probono wrote:
> ldd not only provides the name of the libraries to be loaded, but also
> the paths to the locations where they are loaded from. How would I get
> this information without using ldd?


First, use the environment variable $LD_LIBRARY_PATH. The default search path 
is known to qmake (variable QMAKE_DEFAULT_LIBDIRS) and you can then search the 
paths from /etc/ld.so.conf & /etc/ld.so.conf.d/*.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Development mailing list

Reply via email to