[ale] I don't wanna rebuild AGAIN

ari myo at thy.ml.org
Mon Oct 12 23:53:21 EDT 1998


Nomad the Wanderer (nomad at orci.com) said this stuff:

> {0}:dogbert:/root/xv/xvscan-1.81-bin>ldd xvscan
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40004000)
> 	libm.so.5 => not found
> 	libc.so.5 => /usr/local/lib/Backups/libc.so.5 (0x4009b000)
> 	libc.so.6 => /lib/libc.so.6 (0x4009d000)
> 	/lib/ld-linux.so.1 => /lib/ld-linux.so.2 (0x2aaaa000)

is your version of netscape also libc5?
is X?  is your window manager?

notice what i'm getting at there....


> > if you're familiar with gdb or strace (or ltrace), use one or more of them to
> > see where things are going wrong.
> 
> {0}:dogbert:/root/xv/xvscan-1.81-bin>strace ./xvscan
> execve("./xvscan", ["./xvscan"], [/* 26 vars */]) = 0
> mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40006000
> mprotect(0x40000000, 19984, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
> mprotect(0x8048000, 1146372, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
> stat("/etc/ld.so.cache", {st_mode=0, st_size=0, ...}) = 0
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> mmap(0, 13885, PROT_READ, MAP_SHARED, 3, 0) = 0x40007000
> close(3)                                = 0
> stat("/etc/ld.so.preload", 0xbffffa90)  = -1 ENOENT (No such file or directory)
> open("/usr/local/RealAudio/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/local/lib/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/local/lib/Backups/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/lib/libX11.so.6", O_RDONLY)  = -1 ENOENT (No such file or directory)
> open("/lib/libX11.so.6", O_RDONLY)      = -1 ENOENT (No such file or directory)
> write(2, "./xvscan: can\'t load library \'"..., 43./xvscan: can't load library 'libX11.so.6'
> ) = 43
> _exit(16)                               = ?

/usr/X11R6/lib was not checked.
try using

  setenv LD_LIBRARY_PATH /usr/X11R6/lib:$LD_LIBRARY_PATH

for [t]csh, or

  export LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH

for [{ba,z}]sh

if this works, check to make sure /usr/X11R6/lib is in /etc/ld.so.conf
from the looks of things, it is.  however, /usr/X11R6/lib is still not
searched for, as can be seen from the strace output.

ari


> 
> > 
> > if you wish, you can simply install the package X3323upd.tgz from
> > ftp.xfree86.org (you can choose libc5 or glibc2 binaries), or if you want to
> > build from the src, you can just build the xc/lib subdirectory, or the
> > xc/lib/X11 dir if you want to be specific about things.  to build from the
> > src, you only need X332src-1.tgz, not X332src-2.tgz or X332src-3.tgz.  you
> > need not use imake from the base subdir (xc/); rather from whatever subdir you
> > want to start building from.  theoretically, that should work, but it will
> > probably need some tweaking.  if so, do ask... tweaking is one of my
> > specialties.
> 
> My X works fine though.  I'm downloading all the Updates again and going to
> re-install just those.
> 






More information about the Ale mailing list