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

Re: xlib6g and emacs (and others)

On Tue, Sep 09, 1997 at 08:17:50AM -0500, Erv Walter wrote:
> As soon as I install xlib6g, emacs core dumps and ldd reports this:
>         libXaw.so.6 => /usr/X11R6/lib/libXaw.so.6 (0x4000d000)
>         libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40045000)
>         libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40057000)
>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4009f000)
>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400a8000)
>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400bd000)
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400c9000)
>         libncurses.so.3.0 => /lib/libncurses.so.3.0 (0x4016d000)
>         libm.so.5 => /lib/libm.so.5 (0x401a9000)
>         libc.so.5 => /lib/libc.so.5 (0x401b2000)
>         libc.so.6 => /lib/libc.so.6 (0x4026e000)
>         ld-linux.so.2 => /lib/ld-linux.so.2 (0x4030c000)

The problem is that emacs was built with '-rpath /usr/X11R6/lib'
causing it to use the libc6-based X libs instead of the libc5-based
ones.  This could have happened because emacs explicitly uses this
option or because it was built with an old xlib6-dev package which
automatically included it.  I've already filed a bug on emacs for this

The quickest way to work around the problem without removing xlib6g is
to edit the emacs binary, search for "/usr/X11R6/lib" and replace
"usr/X11R6/lib" with ASCII NUL characters.  If you don't know how or
can't do this, I've put a compressed, already-edited version at
ftp://ftp.ods.com/pub/linux/emacs.gz.  Just fetch it, uncompress it,
"chmod +x" it and copy it to /usr/bin.

> Now, I don't know if emacs (and 90% of other executables) is broken,
> or if there is a problem with xlib6g or if ld.so is not working.

I haven't noticed any other problems yet.  However, there is a
potential problem with Xaw3d and neXtaw just waiting to happen.  These
packages should be rebuilt ASAP with the proper libc dependency
explicitly compiled in.

David Engel                        ODS Networks
david@sw.ods.com                   1001 E. Arapaho Road
(972) 234-6400                     Richardson, TX  75081

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: