Terry Welsh writes:

>> What about using LD_LIBRARY_PATH?
>>
>> --
>> Alberto
>>
> I honestly don't know if this would work, but I'm trying to figure out
> how to package stuff at the quality of commercial release, so I prefer
> to avoid LD_LIBRARY_PATH.  LD_LIBRARY_PATH is fine for development and
> debugging, but it's generally considered very bad for use in any
> software distribution.  Just google for "LD_LIBRARY_PATH evil" or
> something similar.

Of course it's bad to set it for all users. Any commercial or any other
'official' application shouldn't mess with those global settings.

But I'm not talking about that usage. I'm talking to set it just for
your application. I have seen many commercial applications doing that —a
launcher script that sets LD_LIBRARY_PATH *in that shell* and then
executes the process, so it uses the dynamic objects bundled with the
application instead of system ones.

-- 
Alberto

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to