[csw-maintainers] graphviz-2.28.0 lt_dlopen() problem

John Ellson ellson at opencsw.org
Tue Jun 7 00:57:22 CEST 2011


Dago,

I'm totally baffled by this one.  The problem happens during package installation of CSWgraphviz-2.28.0 when "dot -c" is run to check which plugins can be successfully loaded and record their capabilities in the config6 file.


> dot -c is running now to record available graphviz plugins.
> 
> Warning: Could not load "/opt/csw/lib/graphviz/libgvplugin_lasi.so.6" - file not found


This only happens when running on Solaris-9, even though the binaries
were built on Solaris-9.
The binaries for Solaris-10, also built on Solaris-9, don't have this
problem.

This only happens with this plugin.  All the other plugins load as expected.
(This plugin happens to be the only one containing C++ code, but the C++
is wrapped in a C function.)

The error is reported by: lt_dlopen()  which is from libtool.

The path "/opt/csw/lib/graphviz/libgvplugin_lasi.so.6" is correct and
the plugin exists there.

Inspecting with ldd and elfdump show nothing unexpected.




Could it be some security feature???  (something like selinux ?)

Could it be something related to preload?

Could it be something related to C++?



The problem can be reproduced on unstable9s or testing9s using the
attached code.


John



 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 89 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20110606/5225b1ba/attachment.bin>


More information about the maintainers mailing list