Hi Hendrik,

> > Details about the original thought:
> >
> > OpenOBEX uses a version-info of 5:1:4 now which translates to a soname
> > of 1.4.1.
> > (The scheme here is current : revision : age which is translated to a
> > soname of current-age . age . revision.)
> > The soname of .2.0 (ABI 2, age 0) tells to be compatible to e.g. the
> > soname of .1.1 (ABI 2, age 1, revisions ommited).
> >
> > But that's just the theoretical side -- I can't even say if some
> > linker might choose librarys that liberal. Also there shouldn't be any
> > apps linked to ABI 2 around any more, right?
> 
> Please note: the libtool scheme has absolutely nothing to do with the linker 
> on any compiler/system I know of.
> 
> On Linux a binary gets linked to libopenobex.so, the linker reads the SONAME 
> from libopenobex.so and adds that to the dependency list of the other binary. 
> That would work even with having only libopenobex.so.2 as the real binary 
> library file.
> With CMake I can just name the files:
>   libopenobex.so
>   libopenobex.so.2
>   libopenobex.so.1.6.0
> 
> Asuming anything from the name of the latter file name is libtool 
> miseducation. 
> You can only do this if you know that this library was built using libtool 
> and 
> not renamed afterwards.
> Since most system administrators will not know about the libtool naming 
> scheme, it is fairly useless (because the encoding information is not 
> understood).
> 
> You can use
>   -version-number 2:0:0
> instead of
>   -version-info 6:0:0
> I just don't know if this is Debian specific or a normal libtool feature. It 
> still extracts the soname automatically from the first given part (that 
> really 
> hurts, why don't they provide an option instead of guessing?), so 2:0:0 must 
> be used instead if 1:6:0
> At that point, I don't care anymore. When using libtool, you obviously have 
> to 
> live with it guessing values.

I decided to with -version-info 2:0:0 since that bumps the SONAME and
that is the important part here. Everything else is just pointless on
most Unix/Linux systems.

Regards

Marcel



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to