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

Dagobert Michelsen dam at opencsw.org
Tue Jun 7 17:40:58 CEST 2011


Hi John,

Am 07.06.2011 um 17:17 schrieb Dagobert Michelsen:
> Am 07.06.2011 um 00:57 schrieb John Ellson:
>> 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.
> 
> In fact they do, probably we have tested the wrong thing:
> 
> unstable10s# dot -c
> Warning: Could not load "/opt/csw/lib/graphviz/libgvplugin_lasi.so.6" - file not found
> Warning: Could not load "/opt/csw/lib/graphviz/libgvplugin_lasi.so.6" - file not found
> 
>> 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.
> 
> Try "ldd -r" and you see that there are lots of errors. The come from
>  /opt/csw/lib/libLASi.so
> because there has been no NEEDED for libCstd.so for Sun Studio in it.
> Try adding -lCstd to the linker flags of liblasi and I am confident it will
> work then.

I rebuild liblasi and everything looks good. I am commiting my work so
you can rebuild and rerelease the liblasi packages.


Best regards

  -- Dago


-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the maintainers mailing list