Subject: re: HEADS UP: new toolchain info! (now default on i386)
To: Jarom r Dolecek <>
From: matthew green <>
List: current-users
Date: 09/23/2001 01:40:03
   Todd Vierling wrote:
   > (Note that library dependencies require a -rpath-link argument, if the
   > dependencies are not in their installed paths; even the `'
   > binutils-based ld required this.)
   It seems that the libraries got linked with -rpath only, not -rpath-link.
   This worked fine with old ld, apparently is not enough with new one. Please
   look at this soon, it starts to bite me and I believe others too.

this is not the problem.  the libraries *are* installed in the
correct place, that exists in the shlibs RPATH.  eg, for we have:

> objdump -p /usr/X11R6/lib/

/usr/X11R6/lib/     file format elf32-i386

Program Header:
    LOAD off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12
         filesz 0x00012394 memsz 0x00012394 flags r-x
    LOAD off    0x00012394 vaddr 0x00013394 paddr 0x00013394 align 2**12
         filesz 0x000008e8 memsz 0x00000cb4 flags rw-
 DYNAMIC off    0x00012bcc vaddr 0x00013bcc paddr 0x00013bcc align 2**2
         filesz 0x000000b0 memsz 0x000000b0 flags rw-
    NOTE off    0x0001237c vaddr 0x0001237c paddr 0x0001237c align 2**2
         filesz 0x00000018 memsz 0x00000018 flags r--

Dynamic Section:
  RPATH       /usr/X11R6/lib
  [ ... ]

with all the NEEDED libraries in /usr/X11R6/lib, new ld will fail
to link any program -lXaw that does not include all of -lXt -lSM
-lICE -lXent and -lX11.  it seems common for -lXt to be missing
from link commands (i saw this in at least two packages).