Jun Liu <[EMAIL PROTECTED]> writes:

> a dirty solution is to 'rpm -i libpng3-1.2.0xxx' instead of 
> 'rpm -Uhv libpng3-1.2.0xxx'.

This is not dirty, the lib-policy is meant so that you can install
different versions of a library.

Now, this leads to problems when a binary uses libpng and also uses
another library which itself uses libpng, when the binary and the library
were compiled against different major versions of libpng (namely 2 and 3).
Apparently, at dynamic linkage time, symbols will mess, and it can
segfault or incorrectly display images.

But this was already extensively discussed here :-).


For example on my machine I have multiple versions of a few libs but it
works without a problem.

libdb3.2-3.2.9-3mdk
libdb3.3-3.3.11-5mdk

libglib1.2-1.2.10-4mdk
libglib2-1.3.6-2mdk

libparted2-1.4.13-2mdk
libparted1.4-1.4.20-2mdk


-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/

Reply via email to