On Thu, Nov 06, 2003 at 12:48:58PM -0800, Bob Miller wrote:
> > I just wrote a GLEP, proposing a solution to the problem that updating
> > f.ex. openssl, requires recompiling almost world
> > (kde,mozilla,galeon,wget,irrsi,python etc.) - and breaks your system if
> > you don't complete all this, while you are running (since the old
> > openssl files are removed after the openssl upgrade -and programs that
> > haven't been recompiled will break).
> Isn't this the problem that SLOTs are supposed to solve?
> Shouldn't openssl and other libraries just be made SLOT-aware?
this isn't a simple as you make it sound, because of the following (best
explained thru an example).

libmysql links against libssl-0.9.6, and say you only have openssl-0.9.6
installed at the time.
now you upgrade a slotted openssl, and have both libssl-0.9.6 and
libssl-0.9.7.
now you compile some other program that wants to pull in BOTH libssl and
libmysql. it picks up libssl-0.9.7 as that is the latest, but libmysql
is still linked against libssl-0.9.6. at this point your program
probably won't compile properly (gcc will detect the problem in most
cases), but if it doesn't your program will just segfault when you try
to run it.

-- 
Robin Hugh Johnson
E-Mail     : [EMAIL PROTECTED]
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to