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

2002-12-11 Thread Rob Browning
Timshel Knoll [EMAIL PROTECTED] writes: Possible solutions: 4. Fix libtool and libltdl to support lt_dlopen_interface (const char *name, int interface) and use that. This would require modifying libtool to install a versioned .la files (on archs that can't just dlopen a

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

2002-12-09 Thread Yury Umanets
Timshel Knoll wrote: [Please CC all replies to me] Hi all, I'm having issues with getting parted's reiserfs support to work in a way that complies with Debian policy. The issue is that parted dlopen()s libreiserfs.so and libdal.so (from the libreiserfs-0.3-{0,dev} packages) for its reiserfs

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

2002-12-09 Thread Yury Umanets
Daniel Burrows wrote: On Mon, Dec 09, 2002 at 04:01:29PM +1100, Andrew Clausen [EMAIL PROTECTED] was heard to say: On Mon, Dec 09, 2002 at 02:02:12AM +, Scott James Remnant wrote: I don't see why this is a problem, you'd only need to change the dlopen() code if there's a SONAME change

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

2002-12-09 Thread Timshel Knoll
[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

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

2002-12-09 Thread Yury Umanets
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

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

2002-12-09 Thread Brian May
On Mon, Dec 09, 2002 at 11:26:14AM +1100, Timshel Knoll wrote: 1. Put the .so symlinks in the libreiserfs-0.3-0 package. This breaks policy (section 9.0 says that the associated development package should contain the shared library without a version number). This is also a really bad

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

2002-12-08 Thread Timshel Knoll
[Please CC all replies to me] Hi all, I'm having issues with getting parted's reiserfs support to work in a way that complies with Debian policy. The issue is that parted dlopen()s libreiserfs.so and libdal.so (from the libreiserfs-0.3-{0,dev} packages) for its reiserfs support. This is fine,

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

2002-12-08 Thread Daniel Burrows
On Mon, Dec 09, 2002 at 11:26:14AM +1100, Timshel Knoll [EMAIL PROTECTED] was heard to say: 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

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

2002-12-08 Thread Scott James Remnant
On Mon, 2002-12-09 at 00:26, Timshel Knoll wrote: I'm having issues with getting parted's reiserfs support to work in a way that complies with Debian policy. The issue is that parted dlopen()s libreiserfs.so and libdal.so (from the libreiserfs-0.3-{0,dev} packages) for its reiserfs support.

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

2002-12-08 Thread Andrew Clausen
On Mon, Dec 09, 2002 at 02:02:12AM +, Scott James Remnant wrote: I don't see why this is a problem, you'd only need to change the dlopen() code if there's a SONAME change - and that should only change if there's a binary-incompatible difference. A difference that might not be picked up by

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

2002-12-08 Thread Andrew Clausen
Hi again, I forgot to mention: what if a backward-compatible API change is made to libreiser? libtool library versioning is designed to deal with all of this... can we use it somehow? Cheers, Andrew

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

2002-12-08 Thread Daniel Burrows
On Mon, Dec 09, 2002 at 04:01:29PM +1100, Andrew Clausen [EMAIL PROTECTED] was heard to say: On Mon, Dec 09, 2002 at 02:02:12AM +, Scott James Remnant wrote: I don't see why this is a problem, you'd only need to change the dlopen() code if there's a SONAME change - and that should only

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

2002-12-08 Thread Andrew Clausen
On Mon, Dec 09, 2002 at 12:16:44AM -0500, Daniel Burrows wrote: So reiserfs has an internal mechanism for reporting whether stuff is really compatible? Yes. An internal version numbers policy. You call a function (via dlsym) asking if the interface you (i.e. parted) is using, and reiserfs