[Qt-interest] LGPL and static linking
Harri Porten
porten at froglogic.com
Tue Dec 1 20:21:20 CET 2009
On Tue, 1 Dec 2009, william.crocker at analog.com wrote:
> My application runs as root and so use of LD_LIBRARY_PATH (etc) is not
> permitted
Is this a setuid root application? Otherwise I'm only aware of tools like
sudo stripping the variable's values.
> and I do not want to have to worry about how every computer among the
> thousands on which it runs within my enterprise finds the Qt libs.
In our product we wrap the real applications in light-weight starter
applications that set LD_LIBRARY_PATH (Unix) and PATH (Windows) to point
it to our own library copies and never had a problem. The code is no big
magic as using shell script wrappers is common practise. But maybe I
should post the code anyway.
Harri.
More information about the Qt-interest-old
mailing list