On Wed, Sep 23, 2009 at 12:44 PM, James Lee <[email protected]> wrote: > On 23/09/09, 12:38:15, Maciej "(Matchek)" Blizinski <[email protected]> > wrote regarding Re: [csw-maintainers] Anyone wants to update wxWidgets?: > >> One more question: If two versions of a library are installed on one >> system, which one is being used during linking? > > The one pointed to by (or that is) .so > > /opt/csw/lib/libjpeg.so.62.0.0 > /opt/csw/lib/libjpeg.so.62=libjpeg.so.62.0.0 > /opt/csw/lib/libjpeg.so.7.0.0 > /opt/csw/lib/libjpeg.so.7=libjpeg.so.7.0.0 > /opt/csw/lib/libjpeg.so=libjpeg.so.7.0.0 > > at link libjpeg.so uses .so.7 not .62 > > > SONAME is used at run time.
Thanks for the clarification. It makes sense to me now. I've got a package with both 0.2.0 and 0.6.0 in it. I compared it with the 2.8.5 version of the package: http://dpaste.com/107154/ It doesn't seem right. There are three files that are missing from my 2.8.5, that are present in the 2.8.5 from the current catalog: -/opt/csw/lib/libwx_gtk2u-2.8.so --> libwx_gtk2u-2.8.so.0 -/opt/csw/lib/libwx_gtk2u-2.8.so.0 --> libwx_gtk2u-2.8.so.0.2.0 -/opt/csw/lib/libwx_gtk2u-2.8.so.0.2.0 I checked it -- those files don't get created in my 2.8.5. After the compilation is finished, they just aren't there. There are also additional shared objects: http://dpaste.com/107157/ +/opt/csw/lib/libwx_baseu-2.8.so --> libwx_baseu-2.8.so.0 +/opt/csw/lib/libwx_baseu-2.8.so.0 --> libwx_baseu-2.8.so.0.6.0 +/opt/csw/lib/libwx_baseu-2.8.so.0.2.0 +/opt/csw/lib/libwx_baseu-2.8.so.0.6.0 +/opt/csw/lib/libwx_baseu_net-2.8.so --> libwx_baseu_net-2.8.so.0 +/opt/csw/lib/libwx_baseu_net-2.8.so.0 --> libwx_baseu_net-2.8.so.0.6.0 +/opt/csw/lib/libwx_baseu_net-2.8.so.0.2.0 +/opt/csw/lib/libwx_baseu_net-2.8.so.0.6.0 +/opt/csw/lib/libwx_baseu_xml-2.8.so --> libwx_baseu_xml-2.8.so.0 +/opt/csw/lib/libwx_baseu_xml-2.8.so.0 --> libwx_baseu_xml-2.8.so.0.6.0 +/opt/csw/lib/libwx_baseu_xml-2.8.so.0.2.0 +/opt/csw/lib/libwx_baseu_xml-2.8.so.0.6.0 ...which aren't there in 2.8.5. Is my 2.8.5 from the original maintainer's 2.8.5? Or is it something in the compilation options? (wxwidgets have a lot of them). * * * It looks like it might be the question of setting --enable-monolithic. It isn't the default for wxwidgets. Should should be used: the library default or the previous package's setting? Maciej _______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers
