Mailinglist Archive: opensuse-packaging (60 mails)

< Previous Next >
Re: [opensuse-packaging] location of devel symlinks for libraries
  • From: Matthias Koenig <mkoenig@xxxxxxx>
  • Date: Tue, 16 Jan 2007 18:01:34 +0100
  • Message-id: <n7x3b6azz0x.fsf@xxxxxxxxxxx>
Hi,

Ludwig Nussel <ludwig.nussel@xxxxxxx> writes:
> A library required during system boot lives in /lib. Therefore one runs
> configure --lib=/%_lib which means all files get installed into
> /%_lib including the devel symlink *.so that point to the SONAME.
> Some packages manually move that symlink to /usr. Does that have any
> technical or cosmetic advantage?

Yes, there has been a technical problem I've been running into when moving
the libs of of libgpg-error and libgcrypt.
The static libs are not allowed to reside in /%_lib they have to be in
%_libdir (Also the libtools .la files). Since the linker seems to search
first in %_libdir and then in /%lib, it does not find the .so link when
linking and links against the static lib, which is not what we want.
Richard Guenther and Michael Matz also acknowledged that the .so devel link
has to reside in /usr/%_lib. Maybe they know more about this.

Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References