Bug#683374: oce: trouble loading plugin

D. Barbier bouzim at gmail.com
Tue Jul 31 11:55:20 UTC 2012


On 2012/7/31 Julien Cristau wrote:
> Package: oce
> Version: 0.10-1
> Severity: normal
>
> Plugin::Load in src/Plugin/Plugin.cxx basically does
> dlopen("lib" + $name_of_the_plugin + ".so").  When $name_of_the_plugin
> is FWOSPlugin that fails unless liboce-ocaf-lite-dev is installed, which
> seems like it shouldn't be necessary.  I'm not sure if this is a bug in
> the application, if Plugin::Load should be able to find the versioned
> file, or if libFWOSPlugin.so should be shipped in the runtime lib

Hello Julien,

We may move libFWOSPlugin.so into /usr/lib/oce-0.10.  DRAWEXE will
work just fine (because of its rpath settings), but Plugin::Load would
have to be taught to look into this directory if we want to not break
other applications.
Another idea is to edit /usr/share/oce-0.10/src/StdResource/Plugin and replace
  a148e300-5740-11d1-a904-080036aaa103.Location: FWOSPlugin
by
  a148e300-5740-11d1-a904-080036aaa103.Location: FWOSPlugin-3
A symlink libFWOSPlugin-3.so --> libFWOSPlugin.so.3 will then do the
trick.  I prefer this solution, no change is required in source files.

Denis



More information about the debian-science-maintainers mailing list