[Paraview] Writer Plugin cannot be loaded
Burlen Loring
burlen.loring at kitware.com
Thu Jan 15 10:15:44 EST 2009
Natalie Happenhofer wrote:
> Hi!
>
> I have written a Writer-Plugin and after (at last) successfully
> compiling and linking it within Paraview, I tried to load it with the
> PluginManager,
> and in the Paraview/build/bin directory I found my libVdcWriter.so,
> but loading fails. I get the error message: "libVdcWriter.so: no such
> file or directory"
> But the file is in the build/bin - directory, the
> plugin-manager-browser found it!
> Does anyone know what could be the problem here? Is it possible that I
> missed to link something, any library from paraview so that this
> plugin can be loaded?
It sounds like the dynamic linker/loader , ld, isn't finding your
libVdcWriter.so library. first you can verify by running ldd on your
plugin and searching for "not found". like this:
ldd /path/to/libMyPlugin.so | grep "not found"
This will list the libraries that are not found. There are a number of
ways to remedy such an issue. The easiest (especially for debugging
purposes) is to use LD_LIBRARY_PATH on the command line to add locations
to ld's search path. You know where the missing library is located then
you can run paraview like this:
LD_LIBRARY_PATH=/path/to/missing/lib/folder /path/to/paraview
or you can export this variable in your shell.
>
> and by the way, a stupid question: linux .so - files are equivalent to
> windows .dll-files, true? so while I´m loading my plugins as .dlls in
> windows, with linux they have the ending .so, right?
>
> thx a lot,
> Natalie Happenhofer
>
>
>
> ------------------------------------------------------------------------
> ¡Descúbrelo! ¿Qué puedes hacer con el nuevo Windows Live?
> <http://www.microsoft.com/latam/windows/windowslive/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
--
Burlen Loring
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x137
More information about the ParaView
mailing list