Thanks for bringing this up. It almost the same under linux as well.
It adds the paths in LD_LIBRARY_PATH to the filename and even worse it
also adds "./" to the filename. Especially the last one causes the
rpath linker option not to work, which is IMO the correct way to
specify shared library search paths under unixes. In my copy of
DynamicLibrary I have removed the addition of "./" and LD_LIBRARY_PATH
is empty.

My suggestion is, first let the operating system search for the shared
library, only after that OSG should search for it, probably some OSG
specific library search environmental variable, something like
OSG_PLUGIN_PATH.

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

Reply via email to