[nanomsg] Re: Brief introduction, and pkgconfig vs SONAME question

  • From: "J.C. Cleaver" <cleaver@xxxxxxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Tue, 29 Jul 2014 09:45:58 -0700


On Mon, July 28, 2014 10:43 pm, Martin Sustrik wrote:
> On 29/07/14 07:36, Martin Sustrik wrote:
>
>> Correct ABI version is 2.0.2. Where exactly does 0.2.0 come from, I
>> am nor sure.
>
> There's this line in Makefile.am:
>
> libnanomsg_la_LDFLAGS = -no-undefined -version-info @NN_LIBTOOL_VERSION@
>
> And NN_LIBOOL_VERSION seems to be 2.0.2 ...
>
> Also grepping for "0.2.0" is the generated scripts yields no results...
>
> Which seems to imply that 0.2.0 is just some kind of a libtool artifact.
>
> Martin


Yeah, that's exactly where I was stuck at as well. Eventually it shows up in:

./../BUILD/nanomsg-0.4-beta/.libs/libnanomsg.la:library_names='libnanomsg.so.0.2.0
libnanomsg.so.0 libnanomsg.so'
../../BUILD/nanomsg-0.4-beta/.libs/libnanomsg.lai:library_names='libnanomsg.so.0.2.0
libnanomsg.so.0 libnanomsg.so'
../../BUILD/nanomsg-0.4-beta/libnanomsg.la:library_names='libnanomsg.so.0.2.0
libnanomsg.so.0 libnanomsg.so'

... but I can't determine where it's generating that from. By that time,
Makefile is just:
./Makefile:libnanomsg_la_LDFLAGS = -no-undefined -version-info 2:0:2


-jc


Other related posts: