At Sat, 31 Aug 2002 09:20:14 -0700,
Jeff Bailey wrote:
> > BTW, glibc-2.2.92 invites that non-standard directories library (ex:
> > /usr/X11R6/lib) cannot load dynamically, such library directory is
> > described in /etc/ld.co.conf.  /etc/ld.so.cache is near-empty file,
> > I guess ldconfig is buggy...
> 
> I just stepping through ldconfig with gdb.  It seems like search_dirs
> is broken and not returning anything.  In the meantime, using the
> ldconfig from the previous verison lets X load.  I'll let you (and
> upstream, if appropriate) know when I figure it out.

Hmm... It seems gcc bug? From the source code, it should be worked.
ldconfig.c with gdb:

        638       if (opt_chroot)
        (gdb) 
        646           dir_name = entry->path;
        (gdb) 
        647           real_file_name_len = 0;
        (gdb) 
        648           real_file_name = file_name;
        (gdb) 
        651       if (dir_name == NULL || (dir = opendir (dir_name)) == NULL)
        (gdb) 
        874       closedir (dir);
        (gdb) 
        878       for (dlib_ptr = dlibs; dlib_ptr != NULL; dlib_ptr = dlib_ptr->next)

        (gdb) p dir_name
        $20 = 0x80ab858 "/usr/X11R6/lib"
        (gdb) p dir
        $21 = (struct __dirstream *) 0x80ab870

-- gotom


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to