libnl linker versioning is off

Thomas Haller thaller at redhat.com
Mon Oct 6 04:20:34 PDT 2014


On Mon, 2014-10-06 at 12:05 +0100, Thomas Graf wrote:
> Copying the list
> 
> On 10/02/14 at 11:31am, Jan Engelhardt wrote:
> > 
> > Furthermore, it also appears that with libnl-3.2.25, a function was 
> > removed:
> > 
> > diff --git a/include/netlink/cache.h b/include/netlink/cache.h
> > index 08f97fa..e21aa1c 100644
> > --- a/include/netlink/cache.h
> > +++ b/include/netlink/cache.h
> > @@ -94,8 +96,6 @@ extern struct nl_object *	nl_cache_search(struct nl_cache *,
> >  						struct nl_object *);
> >  extern struct nl_object *nl_cache_find(struct nl_cache *,
> >  				       struct nl_object *);
> > -extern struct nl_object *	nl_cache_lookup(struct nl_cache *,
> > -						struct nl_object *);
> >  extern void			nl_cache_mark_all(struct nl_cache *);
> >  
> >  /* Dumping */
> > 
> > 
> > which means the ABI just broke and requires a full SONAME change (e.g. 
> > from libnl-3.so.200 to libnl-3.so.201).

The declaration of nl_cache_lookup() was
added by  : https://github.com/thom311/libnl/commit/55c0e036b04b567a81cca441117b4e2ce5e22ef2
removed by: https://github.com/thom311/libnl/commit/b3b8d724164961b7ef4da81eddb5581491f2d025

but there was never a definition of nl_cache_lookup().
Hence, no application ever successfully linked against such
a function.


Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20141006/b3c51eb8/attachment.sig>


More information about the libnl mailing list