Strange xlock / xbiff behaviour ...

Strange xlock / xbiff behaviour ...

Post by Robert Manne » Thu, 23 Feb 1995 01:57:55



having done some more investigation into this problem using strace, I'm
more confused than ever. xbiff is loading X11R6 shlibs from /usr/X11R6/lib:

        from strace xbiff ...

        uselib("/usr/local/lib/libXaw.so.6") = -1 (No such file or directory)
        uselib("/usr/X11R5/lib/libXaw.so.6") = -1 (No such file or directory)
        uselib("/usr/X11R6/lib/libXaw.so.6") = 0
        uselib("/usr/local/lib/libXt.so.6") = -1 (No such file or directory)
        uselib("/usr/X11R5/lib/libXt.so.6") = -1 (No such file or directory)
        uselib("/usr/X11R6/lib/libXt.so.6") = 0
        uselib("/usr/local/lib/libX11.so.6") = -1 (No such file or directory)
        uselib("/usr/X11R5/lib/libX11.so.6") = -1 (No such file or directory)
        uselib("/usr/X11R6/lib/libX11.so.6") = 0
        uselib("/usr/local/lib/libc.so.4") = -1 (No such file or directory)
        uselib("/usr/X11R5/lib/libc.so.4") = -1 (No such file or directory)
        uselib("/usr/X11R6/lib/libc.so.4") = -1 (No such file or directory)
        uselib("/usr/openwin/lib/libc.so.4") = -1 (No such file or directory)
        uselib("/usr/local/interviews/lib/libc.s"..) = -1 \
                                                  (No such file or directory)
        uselib("/usr/lib/libc.so.4") = -1 (No such file or directory)
        uselib("/lib/libc.so.4") = 0

But xbiff is a R5 application, not R6 (it came with Slackware 2.0.0 about
9 months ago).

Xterm works fine, for comparison:

        strace xterm ...

        uselib("/usr/local/lib/libXaw.so.3") = -1 (No such file or directory)
        uselib("/usr/X11R5/lib/libXaw.so.3") = 0
        uselib("/usr/local/lib/libXt.so.3") = -1 (No such file or directory)
        uselib("/usr/X11R5/lib/libXt.so.3") = 0
        uselib("/usr/local/lib/libX11.so.3") = -1 (No such file or directory)
        uselib("/usr/X11R5/lib/libX11.so.3") = 0
        uselib("/usr/local/lib/libc.so.4") = -1 (No such file or directory)
        uselib("/usr/X11R5/lib/libc.so.4") = -1 (No such file or directory)
        uselib("/usr/X11R6/lib/libc.so.4") = -1 (No such file or directory)
        uselib("/usr/openwin/lib/libc.so.4") = -1 (No such file or directory)
        uselib("/usr/local/interviews/lib/libc.s"..) = -1 \
                                                  (No such file or directory)
        uselib("/usr/lib/libc.so.4") = -1 (No such file or directory)
        uselib("/lib/libc.so.4") = 0

This one seems to be loading the X11R5 shared libs like it should.

I believed that the R6 shared libs had an incompatible major version number
in order to stop this sort of thing happening?

ld.so is version 1.5.3.,libc 4.6.27, binutils 2.5.2.6

Here is my /lib/ld.so.conf ...

        /usr/local/lib
        /usr/X11R5/lib
        /usr/X11R6/lib
        /usr/openwin/lib
        /usr/local/interviews/lib

ldconfig -v gives:

/sbin/ldconfig: version 1.5.3
/usr/local/lib:
/usr/X11R5/lib:
        libXt.so.3 => libXt.so.3.1.0
        libXaw.so.3 => libXaw.so.3.1.0
        libX11.so.3 => libX11.so.3.1.0
        libXpm.so.3 => libXpm.so.3.3.0
/usr/X11R6/lib:
        libXt.so.6 => libXt.so.6.0
        libXaw.so.6 => libXaw.so.6.0
        libXIE.so.6 => libXIE.so.6.0
        libX11.so.6 => libX11.so.6.0
/usr/openwin/lib:
        libxv3.so.3 => libxv3.so.3.0
        libss.so.3 => libss.so.3.1
        libolg.so.3 => libolg.so.3.0
        libUSS.so.2 => libUSS.so.2.0
        libUIC.so.2 => libUIC.so.2.0
/usr/local/interviews/lib:
        libUnidraw.so.3 => libUnidraw.so.3.1.2
        libIV.so.3 => libIV.so.3.1.2
/usr/lib:
        libdb.so.1 => libdb.so.1.85.1
/lib:
        libc-lite.so.4 => libc-lite.so.4.6.27
        libcurses.so.0 => libcurses.so.0.1.2
        libgr.so.1 => libgr.so.1.3
        libf2c.so.0 => libf2c.so.0.9.2
        libvga.so.1 => libvga.so.1.1.7
        libm.so.4 => libm.so.4.6.27
        libc.so.4 => libc.so.4.6.27

Anyone out there have any idea how I screwed up -- I don't know too much
about all these newfangled shared libs ;-)

--

--------------------------------------------------------------------------------
Robert Manners                                  Osney Laboratory

                                                University of Oxford
                                                x 162
Try: html://swift.eng.ox.ac.uk                  Linux - the only choice
--------------------------------------------------------------------------------

 
 
 

1. Strange xbiff / xlock behaviour ...

I have been running XFree 3.1 for several weeks now, without any major
problems. Yesterday, however, I upgraded my system to libc 4.6.27,
using the `image' distribution. Since then I've noticed two examples
of strange behaviour from X windows ...

1) The X11R5 version of xbiff, running under XF86 3.1, pops up its
flag when there is any mail is /usr/spool/mail/* rather than in just
/usr/spool/mail/MYUSERNAME. Specifying the file for it to look in has
no effect.

2) Xlock will not allow me in when I key in the correct password ...
Maybe its suddenly started looking for shadow passwords?

Does the new libc shared library implement the getuid() call
differently/wrongly? Or am I barking up the wrong tree here. These
binaries worked just fine until I upgraded libc.

Confused.
--

--------------------------------------------------------------------------------
Robert Manners                                  Osney Laboratory

                                                University of Oxford
                                                x 162
Try: html://swift.eng.ox.ac.uk                  Linux - the only choice
--------------------------------------------------------------------------------

2. implementation of ramdisk(tmpfs) in solaris

3. xlock / xbiff solved ...

4. Connecting to my ISP.

5. xlock patch for RS/6000 (Was: Re: xlock compilation)

6. PCI motherboard and devices

7. GNOME install looking for xlock, xlock looking for???

8. 403 Error with Apache

9. Strange NFS behaviour

10. Strange Netscape Behavior with RH 6.2

11. Strange behavior of socket communication

12. Strange behaviour of "setbuf" on HP

13. Strange Behaviour of sar and cpuhog