[zeromq-dev] Announce: Stable ZeroMQ release 4.0.1 - library SONAME

Jose Pedro Oliveira jpo at di.uminho.pt
Tue Oct 8 18:18:10 CEST 2013


Pieter,

And what happens if I have an application that uses the v4 new features
  and I copy it to a system where there is only ZeroMQ v3 installed?

Note that ldd only reports the requirements based on the major number
(and yum/rpm also have a similar behaviour):

  *  libzmq.so.3 => /lib64/libzmq.so.3

jpo

On 2013/10/08 17:08 , Pieter Hintjens wrote:
> Well, 4:0:1 generates a libzmq.so.3.1.0, which is valid, if not
> exactly intuitive.
>
> That is, you can run 3.x apps on the new library without changes, so
> the major version hasn't changed. The age is 1, indicating it was
> changed.
>
> Here's the change process:
>
> http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
>
>
>
> On Tue, Oct 8, 2013 at 5:58 PM, Pieter Hintjens <ph at imatix.com> wrote:
>> The configure.ac says LTVER="4:0:1"... let me check what's going on...
>>
>> On Tue, Oct 8, 2013 at 5:52 PM, Jose Pedro Oliveira <jpo at di.uminho.pt> wrote:
>>> On 2013/10/08 16:19 , Pieter Hintjens wrote:
>>>
>>> --[snip]--
>>>> 0MQ version 4.0.1 stable, released on 2013/10/08
>>>> ================================================
>>>>
>>>> Changes
>>>> -------
>>> --[snip]--
>>>> * Bumped library ABI version to 4:0:1.
>>>>
>>> --[snip]--
>>>
>>>
>>> The libzmq library was created with a SONAME of 3.1.0 (libzmq.so.3.1.0).
>>> Shouldn't it have been created with an SONAME >= 4.0.0?
>>>
>>> ----------
>>> $ cd src/.libs
>>> $ ls -l libzmq.so*
>>> ...
>>> lrwxrwxrwx. 1 fedora fedora      15 Oct  8 16:22 libzmq.so ->
>>> libzmq.so.3.1.0
>>> lrwxrwxrwx. 1 fedora fedora      15 Oct  8 16:22 libzmq.so.3 ->
>>> libzmq.so.3.1.0
>>> -rwxrwxr-x. 1 fedora fedora 3399040 Oct  8 16:22 libzmq.so.3.1.0
>>> ----------
>>>
>>> jpo
>>>
>>> --
>>> Jose Pedro Oliveira
>>> * jpo at di.uminho.pt *
>>>
>>> _______________________________________________
>>> zeromq-dev mailing list
>>> zeromq-dev at lists.zeromq.org
>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

-- 
Jose Pedro Oliveira
* jpo at di.uminho.pt *




More information about the zeromq-dev mailing list