Bug#83669: Shared libraries

2001-02-04 Thread Brian May
> "Brian" == Brian May <[EMAIL PROTECTED]> writes: Brian> foo-dev (2.1) /usr/include/foo.h /usr/lib/libfoo.so -> Brian> libfoo.so.2.1 For everyone concerned: versions of libtool already support this. eg. cvs version of libtool 1.4, and cvs tree for libtool 1.3x (not sure if includes t

Re: Bug#83669: Shared libraries

2001-02-04 Thread Jason Gunthorpe
On 5 Feb 2001, Brian May wrote: > Marcelo> Jason's is actually a valid question concerning this > Marcelo> thread. > > Well, sorry if I misunderstood the question, but I interpreted it as My question was retorical. I know the answer is 'because it is too lame to become a no-op on SUS c

Bug#83669: Shared libraries

2001-02-04 Thread Brian May
> "Marcelo" == Marcelo E Magallon <[EMAIL PROTECTED]> writes: Marcelo> Jason's is actually a valid question concerning this Marcelo> thread. Well, sorry if I misunderstood the question, but I interpreted it as "why does libltdl need libx.la instead of loading libx.so directly?" Wel

Bug#83669: Shared libraries

2001-02-04 Thread Marcelo E. Magallon
>> Brian May <[EMAIL PROTECTED]> writes: > Jason> Does anyone know *why* libtool requires this? It strikes me > Jason> as totally unnecessary for runtime linking on linux. Maybe > Jason> someone should fix libltdl. > > Lets not get off-topic into a flame war over "why does libtoo

Bug#83669: Shared libraries

2001-02-03 Thread Brian May
> "Frank" == Frank Belew <[EMAIL PROTECTED]> writes: Frank> --snip -- You have to watch this one. We've found that Frank> things like rep require the la in the main package, not the Frank> dev due to linking to libltdl. This one was somewhat hard Frank> to discover since everyo

Re: Bug#83669: Shared libraries

2001-02-03 Thread Brian May
> "Jason" == Jason Gunthorpe <[EMAIL PROTECTED]> writes: Jason> Does anyone know *why* libtool requires this? It strikes me Jason> as totally unnecessary for runtime linking on linux. Maybe Jason> someone should fix libltdl. Lets not get off-topic into a flame war over "why does l

Re: Bug#83669: Shared libraries

2001-02-03 Thread Jason Gunthorpe
On 4 Feb 2001, Brian May wrote: > Frank> --snip -- You have to watch this one. We've found that > Frank> things like rep require the la in the main package, not the > Frank> dev due to linking to libltdl. This one was somewhat hard > Frank> to discover since everyone always seems t

Bug#83669: Shared libraries

2001-02-03 Thread Brian May
> "Frank" == Frank Belew <[EMAIL PROTECTED]> writes: Frank> --snip -- You have to watch this one. We've found that Frank> things like rep require the la in the main package, not the Frank> dev due to linking to libltdl. This one was somewhat hard Frank> to discover since everyo

Bug#83669: Shared libraries

2001-02-03 Thread Frank Belew
On 03 Feb 2001 10:59:01 +1100, Brian May wrote: > > "Brian" == Brian May <[EMAIL PROTECTED]> writes: > > Brian> However, this exposes other issues, since the version of > Brian> *.la required depends on the version of the library > Brian> required, however only one copy of the *.la

Bug#83669: Shared libraries

2001-02-02 Thread Brian May
> "Brian" == Brian May <[EMAIL PROTECTED]> writes: Brian> However, this exposes other issues, since the version of Brian> *.la required depends on the version of the library Brian> required, however only one copy of the *.la file can be Brian> installed, while a number of diffe

Bug#83669: Shared libraries

2001-01-27 Thread Brian May
> "Ben" == Ben Collins <[EMAIL PROTECTED]> writes: Ben> So? This makes things consistent, and much easier to track Ben> bugs and problems. Your proposal would make things really Ben> difficult to track bugs "The bug only shows up when I have Ben> libfoo1_1.0 and libfoo-dev_0.9

Bug#83669: Shared libraries

2001-01-27 Thread Brian May
> "Marcelo" == Marcelo E Magallon <[EMAIL PROTECTED]> writes: Marcelo> I don't think I understand what you mean by manage here. Marcelo> You can't prevent users from running 'ldconfig'. If you Marcelo> run 'ldconfig' it will read the sonames and place Marcelo> symlinks to the

Bug#83669: Shared libraries

2001-01-27 Thread Brian May
> "Marcelo" == Marcelo E Magallon <[EMAIL PROTECTED]> writes: Marcelo> libfoo-dev (2.1-1) was compiled with libbar-dev (1.1-1). Marcelo> libbar1 (1.1-1) exists in unstable and libbar1 (1.0-1) Marcelo> exists in stable. Due to bad judgement, libbar1 (1.1-1) Marcelo> (and libba

Bug#83669: Shared libraries

2001-01-27 Thread Herbert Xu
Marcelo E. Magallon <[EMAIL PROTECTED]> wrote: > > I don't think I understand what you mean by manage here. You can't > prevent users from running 'ldconfig'. If you run 'ldconfig' it will > read the sonames and place symlinks to the "newer versions" of the > library. If you've got both fo

Bug#83669: Shared libraries

2001-01-27 Thread Marcelo E. Magallon
>> Herbert Xu <[EMAIL PROTECTED]> writes: > > > and allow shlibs with different minor version numbers to be installed > > > together by encoding it into the package name. Of course, we'll have > > > to manage /usr/lib/libfoo.so.2 dynamically as well. > > > Break the second you run ldcon

Bug#83669: Shared libraries

2001-01-27 Thread Ben Collins
On Sat, Jan 27, 2001 at 01:40:48AM +, Ian Jackson wrote: > Ben Collins writes ("Bug#83669: Shared libraries"): > > On Fri, Jan 26, 2001 at 07:34:08PM +, Ian Jackson wrote: > > > > > > foo-dev (2.1) /usr/include/foo.h > > > /

Bug#83669: Shared libraries

2001-01-27 Thread Ben Collins
On Fri, Jan 26, 2001 at 08:34:07PM -0600, David Engel wrote: > On Fri, Jan 26, 2001 at 03:04:22PM -0500, Ben Collins wrote: > > Can we say archive, system, mirror and update bloat horror!? DO you > > My very rough estimate would be about 300 MB per distribution. Not > insignificant, but not compl

Bug#83669: Shared libraries

2001-01-27 Thread Herbert Xu
Marcelo E. Magallon <[EMAIL PROTECTED]> wrote: >>> Herbert Xu <[EMAIL PROTECTED]> writes: > > and allow shlibs with different minor version numbers to be installed > > together by encoding it into the package name. Of course, we'll have > > to manage /usr/lib/libfoo.so.2 dynamically as well.

Bug#83669: Shared libraries

2001-01-27 Thread Marcelo E. Magallon
>> Brian May <[EMAIL PROTECTED]> writes: > If so, what is the problem with installing the unstable version of > libl6? Oh, you explain it here. > > Ian> L-dev from unstable, but then when you compile S it ends up > Ian> needing the L from unstable. Ugh. I finally understand the in

Bug#83669: Shared libraries

2001-01-27 Thread Marcelo E. Magallon
>> Herbert Xu <[EMAIL PROTECTED]> writes: > and allow shlibs with different minor version numbers to be installed > together by encoding it into the package name. Of course, we'll have > to manage /usr/lib/libfoo.so.2 dynamically as well. Break the second you run ldconfig. Plus the fact tha

Bug#83669: Shared libraries

2001-01-27 Thread Henrique M Holschuh
On Sat, 27 Jan 2001, Brian May wrote: > > "Henrique" == Henrique M Holschuh <[EMAIL PROTECTED]> writes: > Henrique> In other words, if this bug is deemed to be correct, we > Henrique> will have to add hard-link support to dpkg and > Henrique> .debs. Anything else will simply DOUBLE

Bug#83669: Shared libraries

2001-01-26 Thread Brian May
> "Brian" == Brian May <[EMAIL PROTECTED]> writes: I previously misunderstood Herbert's proposal, here it is again (I hope it is accurate this time...). foo2.0 (2.0) /usr/lib/libfoo.so.2.0 (actual library) Provides: foo2 version 2.0 foo2.1 (2.1) /usr/lib/libfoo.so.2.1 (actual library) Provi

Re: Bug#83669: Shared libraries

2001-01-26 Thread Brian May
> "Manoj" == Manoj Srivastava <[EMAIL PROTECTED]> writes: Manoj> Hi, We seem to be balancing 300MB for all archives, Look at Herbert's proposal - it doesn't require any extra space, except for storing multiple versions of the library (which could be done privately too, if Debian doesn't w

Re: Bug#83669: Shared libraries

2001-01-26 Thread Manoj Srivastava
Hi, We seem to be balancing 300MB for all archives, mirrors, transfers, CD's, everyone downloading packages, etc, against the requirements of a few developers who need to create debs for libraries older than those they are running? And who could always create a chroot jail for themselv

Bug#83669: Shared libraries

2001-01-26 Thread Brian May
> "Henrique" == Henrique M Holschuh <[EMAIL PROTECTED]> writes: Henrique> In other words, if this bug is deemed to be correct, we Henrique> will have to add hard-link support to dpkg and Henrique> .debs. Anything else will simply DOUBLE the already Henrique> bloated */lib and t

Bug#83669: Shared libraries

2001-01-26 Thread Manoj Srivastava
>>"Ian" == Ian Jackson <[EMAIL PROTECTED]> writes: Ian> The net effect is that nearly all packages in Debian are compiled Ian> against the libraries from unstable, and that it's hard for a Ian> developer running mostly unstable to build packages for stable. The conventional solution fo

Bug#83669: Shared libraries

2001-01-26 Thread Herbert Xu
On Fri, Jan 26, 2001 at 08:34:07PM -0600, David Engel wrote: > > I think this would be more trouble than it's worth. Not only would That's probably true. > packagers have to deal with all of the possible overlaps between > packages, it would also potentially add even more packages to the > arch

Bug#83669: Shared libraries

2001-01-26 Thread Brian May
> "Herbert" == Herbert Xu <[EMAIL PROTECTED]> writes: Herbert> Ian Jackson <[EMAIL PROTECTED]> wrote: >> Currently, wrt shared libraries, we mandate (or do) this: >> foo2 (2.1) /usr/lib/libfoo.so.2 -> libfoo.so.2.1 >> /usr/lib/libfoo.so.2.1 (actual library) >> foo-dev (2.

Bug#83669: Shared libraries

2001-01-26 Thread Henrique M Holschuh
On Fri, 26 Jan 2001, Ben Collins wrote: > On Fri, Jan 26, 2001 at 07:34:08PM +, Ian Jackson wrote: > > foo-dev (2.1) /usr/include/foo.h > > /usr/lib/libfoo.so (copy of actual library) > > Can we say archive, system, mirror and update bloat horror!? DO you > reali

Bug#83669: Shared libraries

2001-01-26 Thread Brian May
> "Ian" == Ian Jackson <[EMAIL PROTECTED]> writes: Ian> In general, it's not safe to use a minor version of a library Ian> lower than that with which the binary was compiled. Ian> So you if you have a library L used by both an program S Ian> which you want to compile for stabl

Bug#83669: Shared libraries

2001-01-26 Thread David Engel
On Fri, Jan 26, 2001 at 03:04:22PM -0500, Ben Collins wrote: > Can we say archive, system, mirror and update bloat horror!? DO you My very rough estimate would be about 300 MB per distribution. Not insignificant, but not completely untenable either. > This is bad, and creates plenty of problems

Bug#83669: Shared libraries

2001-01-26 Thread Ian Jackson
Ben Collins writes ("Bug#83669: Shared libraries"): > On Fri, Jan 26, 2001 at 07:34:08PM +, Ian Jackson wrote: > > > > foo-dev (2.1) /usr/include/foo.h > > /usr/lib/libfoo.so (copy of actual library) > > > > Can we s

Bug#83669: Shared libraries

2001-01-26 Thread Ian Jackson
Brian May writes ("Re: Bug#83669: Shared libraries"): > You seem to imply that the versions of the libraries are incompatible, > despite having the same major version. If this is really the case, I > think the potential exists to break a lot more then just the build > proces

Bug#83669: Shared libraries

2001-01-26 Thread Brian May
> "Seth" == Seth Arnold <[EMAIL PROTECTED]> writes: Seth> How does this work with the glibc mess I seem to recall from Seth> about a month ago? I don't recall the details - can somebody please give me a URL? -- Brian May <[EMAIL PROTECTED]>

Bug#83669: Shared libraries

2001-01-26 Thread Seth Arnold
* Brian May <[EMAIL PROTECTED]> [010126 15:32]: > Please give me a real life example of why distinguishing libraries > solely by their major version number is not good enough... How does this work with the glibc mess I seem to recall from about a month ago? -- ``Oh Lord; Ooh you are so big; So a

Bug#83669: Shared libraries

2001-01-26 Thread Brian May
> "Ian" == Ian Jackson <[EMAIL PROTECTED]> writes: Ian> The effect is that foo-dev (2.1) has to have a dependency on Ian> foo2 (2.1) because otherwise you might compile against a .so Ian> file and headers from different versions. Ian> This is bad because it makes it hard to up

Bug#83669: Shared libraries

2001-01-26 Thread Herbert Xu
Ian Jackson <[EMAIL PROTECTED]> wrote: > > Currently, wrt shared libraries, we mandate (or do) this: > foo2 (2.1) /usr/lib/libfoo.so.2 -> libfoo.so.2.1 > /usr/lib/libfoo.so.2.1 (actual library) > foo-dev (2.1) /usr/include/foo.h > /usr/lib/l

Bug#83669: Shared libraries

2001-01-26 Thread Ben Collins
On Fri, Jan 26, 2001 at 07:34:08PM +, Ian Jackson wrote: > > foo-dev (2.1) /usr/include/foo.h > /usr/lib/libfoo.so (copy of actual library) > Can we say archive, system, mirror and update bloat horror!? DO you realize what this would mean for lib packages like

Bug#83669: Shared libraries

2001-01-26 Thread Ian Jackson
Package: debian-policy Version: 3.2.1.2 (We've had this argument before, and it degenerated into the policy process row. It seems that Wichert is unwilling to act to fix the process, so I'll just reopen the issue like this. I can't find it in the archives anywhere.) Currently, wrt shared librar