Dirk Mueller wrote:
> On Monday, 26. February 2007, [EMAIL PROTECTED] wrote:
> 
>> What happens if libfreetype.so.6 becomes libfreetype.so.7 and is really not
>> used? In such a case it can indeed break dependent packages unnecessarily.
>>
>> Or am I missing something?
> 
> Yes, if it is not really used, then there is no dependent package. if there 
> is 
> a dependent package, then it is really used, and will break.

I think that Andreas ment by "really not used" that the app doesn't
reference any symbols from the library (but is unnecessarily linked
against it).

Eg:
$ gcc -o a1 hello.c
$ gcc -lxyz -o a2 hello.c
$ ./a1
hello!
$ ./a2
hello!
# rpm -e libxyz libxyz-devel
$ ./a1
hello!
$ ./a2
./a2: error while loading shared libraries ...

Michal
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to