| SWIG generated wrappers are loaded as plain old "_mymodule.pyd" (Python 2.5) or "_mymodule.so" (earlier versions).
I do not know if the Debian loader can load _mymodule.pyd.5.1.6 when Python dlopens _mymodule.pyd. If so, we just need to change the name of the library. If not, then it will work for the package to have a symbolic link to the version-named actual shared library, e.g. from _mymodule.pyd to _mymodule.pyd.5.1.6.
So I think we just need to change the names of the targets to include the version number for the interface shared libraries. I will do this when I refactor the interface shared libraries.
Regards,
Mike
-----Original Message-----
>From: Felipe Sateler
>Sent: Aug 21, 2007 4:22 PM
>To: csound-devel@lists.sourceforge.net
>Subject: Re: [Cs-dev] format not recognized
>
>As you can see from the conversation quoted below, apparently it is wrong
>the current csound practice of installing shared libraries without
>SOVERSION[1] in /usr/lib (note plugins don't need this since they are not
>on /usr/lib and they are used only by csound).
>I'm not sure how to fix this, since these libraries without the SOVERSION
>are the language interfaces. The SOVERSION is used to indicate binary
>compatibility between releases. However I don't know how SWIG-generated
>interfaces maintain ABI compatibility: is there such a guarantee somewhere?
>
>Plus, I talked to the lua debian maintainers, and apparently you do need to
>have a SOVERSION even for interface libraries.
>
>Anyone any ideas on how to proceed?
>
>----
>
>Steve Langasek wrote:
>
>> On Fri, Aug 17, 2007 at 11:21:35AM -0400, Felipe Sateler wrote:
>>
>>> > It's not a question of being able to parse the file, it's that
>>> > "libcsnd.so"
>>> > is not a proper name for a shared library. dpkg-shlibdeps is warning
>>> > you about what appears to be a genuine bug in one of the libraries your
>>> > package depends on.
>>
>>> Hm, so I have to introduce a SONAME? I will have to talk with upstream.
>>
>> Yes, if you're going to ship a shared library in your package, it needs to
>> have a versioned soname.
>
>
>
>[1] SOVERSION is the major version part of a *nix library: in
>libcsnd.so.X.Y, the SOVERSION would be X.
>--
>
> Felipe Sateler
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems? Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >> http://get.splunk.com/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |