xlibs hack

Robert Millan rmh@debian.org
Mon, 16 Aug 2004 18:29:59 +0200


On Mon, Aug 16, 2004 at 07:41:00AM +0200, Guillem Jover wrote:
> Hi,
> 
> On Mon, Aug 16, 2004 at 05:14:19AM +0200, Robert Millan wrote:
> > The following hack prevents common "missing -lfuck" breakage when linking
> > with xlibs that are only in /usr/X11R6/lib.
> 
> That should be debugged properly, is this a bug on the missing
> script, or a worst one in the dynamic linker?

AFAIK it's not a bug, but a "feature" :)

Well actualy I'm not sure, but this problem used to happen on GNU/Hurd too.
Maybe it's just the xfree86 build system not using the right flags for linking
libraries in gnu.cf (and this is something I'm not willing to trace).

> > Since xlibs will eventualy move into a sane directory instead of that shitty
> > X11R6 thing, i made up a hack to workaround it.  I'll probably merge it to
> > our hacked xfree86 package.  Please use this instead of adding lots of hacks
> > here and there to packages that need extra -lfuck flags.
> 
> Well depending on the cause it may be acceptable.

Since I only found this problem with /usr/FOO/lib dirs, and X11 is the only
package that uses this stupid path, I don't think we'll ever have problems
with other packages in Debian because of this "feature".

-- 
Robert Millan

(Debra and Ian) (Gnu's Not (UNiplexed Information and Computing System))/\
(kernel of *(Berkeley Software Distribution))