[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Putting .so symlinks in libs package for dlopen()ing?

Timshel Knoll wrote:

[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 ...

I have meant something like the following command:

./configure --libreiserfs-so=libreiserfs.so.0




Bug-parted mailing list

Yury Umanets

Reply to: