[Qt-interest] [OT] Specify location of DLL dependencies on Windows

Paul Floyd paulf at free.fr
Tue Jan 20 17:12:58 CET 2009


Quoting Thiago Macieira <thiago.macieira at trolltech.com>:

> Em Terça-feira 20 Janeiro 2009, às 12:23:06, Paul Floyd escreveu:
> > IMO LD_LIBRARY_PATH is a bad idea, and should only be used as a last
> > resort. The best way is to use the RPATH.
>
> Distributions recommend against both solutions. They prefer that all
> libraries
> get installed to locations defined in /etc/ld.so.conf. That way, ldconfig can
> cache the locations and be faster. Also, prelinking will work.

Are you saying that linux distributions suggest installing user shared libs in
system directories? Or using ldconfig to include user paths?

What would you suggest for a binary package that includes "myapp", "libfoo.so"
using Qt 4.3, targeting RHEL 4.0 and later?

A+
Paul



More information about the Qt-interest-old mailing list