[Qt-interest] [OT] Specify location of DLL dependencies on Windows
Paul Floyd
paulf at free.fr
Tue Jan 20 12:23:06 CET 2009
Quoting Farid Derradji <farid.derradji at itwm.fraunhofer.de>:
> Hello Arve,
>
> like in Linux, the operating system traverses a specified set of paths
> to look for the first shared library whose name matches your specified
> one (This is done during the first invocation of a method / function
> which has been implemented in this DLL).
>
> Whereas in Linux Environment Variable LD_LIBRARY_PATH is used,
This is wrong. Please read the manpage for ld.so
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.
A+
Paul
More information about the Qt-interest-old
mailing list