Mathias,

sorry if I have not understood you, but I always could have several OSG 
versions on Linux without pointing LD_LIBRARY_PATH to the *plugin* directory. 
I have installed the official Debian packages (currently 2.4.0) and the SVN 
version (2.7.1). If I want to use the SVN version, before recompiling, I set 
LD_LIBRARY_PATH so:

export LD_LIBRARY_PATH=/home/alberto/usr/lib64/

In order to test this more, I have uninstalled the Debian packages and found 
that my programs keep working (the plugins are found implicitly) by only 
specifying the lib directory in LD_LIBRARY_PATH.

Alberto

El Miércoles 03 Septiembre 2008ES 13:29:41 Mathias Fröhlich escribió:
> Hi Robert,
>
> The subject says most of it.
>
> If nothing different is given by environment variables osg looks by default
> in <prefix>/lib<archauffix>/osgPlugins-<version>/ for plugins to load. This
> makes osg work on linux without the need to set a LD_LIBRARY_PATH or
> something like that. This is very convenient if you have multiple versions
> of osg installed for whatever reason.
>
> The default is not set used if you have a static build.
>
> The change is abased on rev 8828.
> Please apply.
>
> Greetings
>
> Mathias
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to