Subject: Re: Serious shared library lossage with OpenSSL and Heimdal
To: Love <lha@stacken.kth.se>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-userlevel
Date: 09/24/2003 14:54:34
On Wednesday, September 24, 2003, at 02:51  PM, Love wrote:

>
> Love <lha@stacken.kth.se> writes:
>
>> Jason Thorpe <thorpej@wasabisystems.com> writes:
>>
>>> This is the classic "dependent shared library didn't get its major
>>> bumped" problem.  In short:
>>
>> ops.
>>
>>> I suggest we bump libkrb5's major number to 19 ASAP.  We then also
>>> need to hunt down any other libraries out there that depend on 
>>> libkrb5
>>> and adjust them accordingly.
>>
>> On top of my head, in our tree that would be libgssapi, libkadm5clnt,
>> libkadm5srv, libkafs, libhdb.
>
> How about this then ?

Looks right.  Do we have any other libraries that depend on the 
versions of these libraries?


>
> Love
>
> Index: lib/libgssapi/shlib_version
> ===================================================================
> RCS file: /sources/netbsd/NetBSD-cvs/src/lib/libgssapi/shlib_version,v
> retrieving revision 1.6
> diff -u -r1.6 shlib_version
> --- lib/libgssapi/shlib_version	15 May 2003 20:58:43 -0000	1.6
> +++ lib/libgssapi/shlib_version	24 Sep 2003 21:44:36 -0000
> @@ -1,5 +1,5 @@
>  #	$NetBSD: shlib_version,v 1.5 2001/09/10 11:18:43 simonb Exp $
>  #	Remember to update distrib/sets/lists/base/shl.* when changing
>  #
> -major=4
> -minor=1
> +major=5
> +minor=0
> Index: lib/libkadm5clnt/shlib_version
> ===================================================================
> RCS file: 
> /sources/netbsd/NetBSD-cvs/src/lib/libkadm5clnt/shlib_version,v
> retrieving revision 1.5
> diff -u -r1.5 shlib_version
> --- lib/libkadm5clnt/shlib_version	10 Sep 2001 11:18:44 -0000	1.5
> +++ lib/libkadm5clnt/shlib_version	24 Sep 2003 21:44:50 -0000
> @@ -1,5 +1,5 @@
> -#	$NetBSD$
> +#	$NetBSD: shlib_version,v 1.5 2001/09/10 11:18:44 simonb Exp $
>  #	Remember to update distrib/sets/lists/base/shl.* when changing
>  #
> -major=7
> +major=8
>  minor=0
> Index: lib/libkadm5srv/shlib_version
> ===================================================================
> RCS file: 
> /sources/netbsd/NetBSD-cvs/src/lib/libkadm5srv/shlib_version,v
> retrieving revision 1.5
> diff -u -r1.5 shlib_version
> --- lib/libkadm5srv/shlib_version	10 Sep 2001 11:18:44 -0000	1.5
> +++ lib/libkadm5srv/shlib_version	24 Sep 2003 21:44:58 -0000
> @@ -1,5 +1,5 @@
> -#	$NetBSD$
> +#	$NetBSD: shlib_version,v 1.5 2001/09/10 11:18:44 simonb Exp $
>  #	Remember to update distrib/sets/lists/base/shl.* when changing
>  #
> -major=8
> +major=9
>  minor=0
> Index: lib/libkafs/shlib_version
> ===================================================================
> RCS file: /sources/netbsd/NetBSD-cvs/src/lib/libkafs/shlib_version,v
> retrieving revision 1.7
> diff -u -r1.7 shlib_version
> --- lib/libkafs/shlib_version	15 May 2003 20:58:44 -0000	1.7
> +++ lib/libkafs/shlib_version	24 Sep 2003 21:45:17 -0000
> @@ -1,5 +1,5 @@
>  #	$NetBSD: shlib_version,v 1.6 2001/09/17 12:34:42 assar Exp $
>  #	Remember to update distrib/sets/lists/base/shl.* when changing
>  #
> -major=5
> -minor=2
> +major=6
> +minor=0
> Index: lib/libhdb/shlib_version
> ===================================================================
> RCS file: /sources/netbsd/NetBSD-cvs/src/lib/libhdb/shlib_version,v
> retrieving revision 1.5
> diff -u -r1.5 shlib_version
> --- lib/libhdb/shlib_version	10 Sep 2001 11:18:44 -0000	1.5
> +++ lib/libhdb/shlib_version	24 Sep 2003 21:45:30 -0000
> @@ -1,5 +1,5 @@
> -#	$NetBSD$
> +#	$NetBSD: shlib_version,v 1.5 2001/09/10 11:18:44 simonb Exp $
>  #	Remember to update distrib/sets/lists/base/shl.* when changing
>  #
> -major=8
> +major=9
>  minor=0
> Index: lib/libkrb5/shlib_version
> ===================================================================
> RCS file: /sources/netbsd/NetBSD-cvs/src/lib/libkrb5/shlib_version,v
> retrieving revision 1.10
> diff -u -r1.10 shlib_version
> --- lib/libkrb5/shlib_version	15 May 2003 20:58:45 -0000	1.10
> +++ lib/libkrb5/shlib_version	24 Sep 2003 21:42:47 -0000
> @@ -1,5 +1,5 @@
>  #	$NetBSD: shlib_version,v 1.9 2002/09/12 13:38:56 joda Exp $
>  #	Remember to update distrib/sets/lists/base/shl.* when changing
>  #
> -major=18
> -minor=4
> +major=19
> +minor=0
> Index: distrib/sets/lists/base/shl.mi
> ===================================================================
> RCS file: 
> /sources/netbsd/NetBSD-cvs/src/distrib/sets/lists/base/shl.mi,v
> retrieving revision 1.237
> diff -u -r1.237 shl.mi
> --- distrib/sets/lists/base/shl.mi	16 Sep 2003 19:26:14 -0000	1.237
> +++ distrib/sets/lists/base/shl.mi	24 Sep 2003 21:49:31 -0000
> @@ -43,17 +43,17 @@
>  ./usr/lib/libevent.so.0.1		base-sys-shlib
>  ./usr/lib/libform.so.3.1		base-sys-shlib
>  ./usr/lib/libgnumalloc.so.0.0		base-sys-shlib
> -./usr/lib/libgssapi.so.4.1		base-krb5-shlib
> -./usr/lib/libhdb.so.8.0			base-krb5-shlib
> +./usr/lib/libgssapi.so.5.0		base-krb5-shlib
> +./usr/lib/libhdb.so.9.0			base-krb5-shlib
>  ./usr/lib/libintl.so.0.0		base-sys-shlib
>  ./usr/lib/libipsec.so.2.0		base-net-shlib
>  ./usr/lib/libkadm.so.5.0		base-krb4-shlib
> -./usr/lib/libkadm5clnt.so.7.0		base-krb5-shlib
> -./usr/lib/libkadm5srv.so.8.0		base-krb5-shlib
> -./usr/lib/libkafs.so.5.2		base-krb5-shlib
> +./usr/lib/libkadm5clnt.so.8.0		base-krb5-shlib
> +./usr/lib/libkadm5srv.so.9.0		base-krb5-shlib
> +./usr/lib/libkafs.so.6.0		base-krb5-shlib
>  ./usr/lib/libkdb.so.5.0			base-krb4-shlib
>  ./usr/lib/libkrb.so.6.0			base-krb4-shlib
> -./usr/lib/libkrb5.so.18.4		base-krb5-shlib
> +./usr/lib/libkrb5.so.19.0		base-krb5-shlib
>  ./usr/lib/libkstream.so.2.0		base-krb4-shlib
>  ./usr/lib/libkvm.so.5.2			base-sys-shlib
>  ./usr/lib/libm.so.0.1			base-sys-shlib
> <mime-attachment>
         -- Jason R. Thorpe <thorpej@wasabisystems.com>