Mailinglist Archive: opensuse-packaging (68 mails)

< Previous Next >
Re: [opensuse-packaging] .la files and dependencies, again
  • From: Michal Marek <mmarek@xxxxxxx>
  • Date: Tue, 27 Feb 2007 16:12:06 +0100
  • Message-id: <45E44A46.40501@xxxxxxx>
Dirk Mueller wrote:
> On Monday, 26. February 2007, andreas.hanke@xxxxxxxxxxxxxx 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: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups