libc5/libc6, WindowMaker, and segfaults

libc5/libc6, WindowMaker, and segfaults

Post by David Guerti » Fri, 15 Jan 1999 04:00:00



Hi folks,

I've got a program (GUI for Arkeia backup software) that has started
segfaulting for normal users but not for root.  This only started
happening after I recently upgraded WindowMaker from 0.20 to 0.50, but
I'm at a loss to understand what the connection is, if any.

The system is a Red Hat 5.1 installation.

Checking ldd while root gives:

#ldd /usr/knox/bin/arkx
        libX11.so.6 => /usr/i486-linux-libc5/lib/libX11.so.6 (0x4000d000)
        libm.so.5 => /usr/i486-linux-libc5/lib/libm.so.5 (0x4009f000)
        libc.so.5 => /usr/i486-linux-libc5/lib/libc.so.5 (0x400a7000)

Checking ldd for Joe user gives:

$ldd /usr/knox/bin/arkx
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4000d000)
        libm.so.5 => /usr/i486-linux-libc5/lib/libm.so.5 (0x400a4000)
        libc.so.5 => /usr/i486-linux-libc5/lib/libc.so.5 (0x400ac000)
        libc.so.6 => /lib/libc.so.6 (0x40175000)
        ld-linux.so.2 => /lib/ld-linux.so.2 (0x4025a000)

OK, so it looks like there's a problem with using libc.so.6 in
addition to libc.so.5.  But wait, on another machine where the same
program (installed as a binary) runs fine for both root and users, ldd
shows:

$ ldd /usr/knox/bin/arkx
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40003000)
        libm.so.5 => not found
        libc.so.5 => not found
        libc.so.6 => /lib/libc.so.6 (0x4009a000)
        /lib/ld-linux.so.1 => /lib/ld-linux.so.2 (0x00000000)

So on this machine, libc6 works OK.

Can anyone give me some pointers as to what might be happening here,
or some things to check?

Thanks,
--
Dave Guertin

 
 
 

1. Compile errors on mixed libc5 / libc6 system - help!

My system is fundamentally a Slackware 3.4 installation, with libc
5.4.44 as the main C library. I also have glibc-2.0.7pre6 (I think:
whichever one came with StarOffice 5.0) runtime support installed.

When compiling some applications, I occasionally get undefined symbol
messages at linking. Typical symbols are modf, re_search_2, frexp and
__getfpucw, although there are others. Editing the Makefile to include
-umodf -ure_search_2 etc usually results in a successful compile, but
I would like to know what needs changing to fix this permanently.

The Linux kernel (currently running 2.1.131 with RvR's swap readahead
patch) compiles and runs fine, Wine (haven't tried latest version)
compiles without error but segfaults on running. My C compiler is
gcc-2.7.2.

Any suggestions, anyone? Please email as well as post. I do not want
suggestions to reinstall the entire system - I want to find out what
needs changing.

Cheers,

Mark.

This message is in no way connected with my employer.

2. HELP: Configure X, Viewsonic 6 & ATI Wonder XL (1meg)

3. debian libc5 --> libc6 question......

4. Previously working Samba server .. now doesn't work; someone PLEASE try and help : (

5. help libc6 libc5

6. How do I use Named Pipes in Unix C++?

7. libc5 vs libc6 in a 386 with 4Mb RAM

8. is this a good prive for AMD5x86/133 cpu and mb and 8meg?

9. glibc, libc5, libc6

10. Howto link to libc5 when in libc6 ?

11. libc5 on libc6 (glibc2)

12. SuSE 6.1: libc6 over libc5

13. Libc6 conflicts with Libc5