>
> As J-S explained, the OSG is using this path list to look for plugins,
> and these plugins will be nested in a osgPlugins-version directory,
> the plugin won't be in the directly in the system directories or ones
> pointed to directly by *LD_LIBRARY_PATH.
>
I'll say this and won't iterate this further.
This is from man dlopen, 'If the environment variable
LD_LIBRARY_PATH is defined to contain a colon-separated list of
directories, then these are
searched. (As a security measure this variable is
ignored for set-user-ID and set-group-ID programs.)"
so if your plugins are in /someplace/osgPlugins-whatever/ and your
LD_LIBRARY_PATH is set to /someplace/osgPlugins-whatever then using
dlopen("osgdb_gif", .... ) will find that lib. You don't have to
dlopen("/someplace/osgPlugins-whatever/osgdb_gif", ...).
--
Orhun Birsoy
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org