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

Re: (not-debian-)programs not finding libraries on Debian system...



On Fri, Sep 28, 2001 at 01:37:19PM +0200, Joop Stakenborg wrote:

> On Fri, 28 Sep 2001 10:45:15 +0200
> Hugo van der Merwe <hugovdm@mail.com> wrote:
> > stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=59404, ...}) = 0
> > open("/etc/ld.so.cache", O_RDONLY)      = 3
> > old_mmap(NULL, 59404, PROT_READ, MAP_SHARED, 3, 0) = 0x40008000
> > close(3)                                = 0
> > stat("/etc/ld.so.preload", 0xbffff988)  = -1 ENOENT (No such file or directory)
> > open("/usr/lib/libXaw.so.6", O_RDONLY)  = -1 ENOENT (No such file or directory)
> > open("/lib/dpkg -", O_RDONLY)      = -1 ENOENT (No such file or directory)
> > write(2, "./spice3: can\'t load library \'li"..., 43./spice3: can't load library 'libXaw.so.6'
> > ) = 43
> > _exit(16)                               = ?
> 
> Strange. There should be a ld.so.cache on your system.
> Try to run ldconfig as root and check if /etc/ld.so.cache is created.

I think you may have misread the strace output; as you can see, ld.so.cache
exists and is opened successfully.

-- 
 - mdz



Reply to: