[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Putting .so symlinks in libs package for dlopen()ing?
From: |
Timshel Knoll |
Subject: |
Re: Putting .so symlinks in libs package for dlopen()ing? |
Date: |
Tue, 10 Dec 2002 00:04:53 +1100 |
User-agent: |
Mutt/1.4i |
[CC to -policy removed, prolly is getting a little OT for them ...]
On Mon, Dec 09, 2002 at 01:06:31PM +0300, Yury Umanets wrote:
> >2. Make parted dlopen() libreiserfs-0.3.so.0 rather than libreiserfs.so.
> > This will solve the problem, but is not ideal solution since a minor
> > version upgrade or SONAME change of libreiserfs will break parted's
> > reiserfs support (note that parted does its own internal checking of
> > libreiserfs versions to make sure it is compatible, and gracefully
> > fails if it can't resolve all required symbols on dlopen()).
> > Also, the parted source code needs to be manually edited on every
> > minor or SONAME change of library.
> >
> The best solution is to add configure option in parted like
> --libreiserfs-path
That still won't fix the problem. The issue is that Debian's policy
mandates that the libreiserfs.so symlink should be in the -dev package,
not the main lib package. This means that parted's dlopen of the .so
fails when the -dev package is not installed ... parted should really be
dlopen()ing libreiserfs-0.3.so.0 rather than libreiserfs.so ...
Cheers,
Timshel
--
Timshel Knoll <address@hidden>, Debian email: <address@hidden>
Debian GNU/Linux developer: http://people.debian.org/~timshel/
GnuPG public key: finger address@hidden
pgpmQ2eah2wIS.pgp
Description: PGP signature