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 => /usr/i486-linux-libc5/lib/ (0x4000d000) => /usr/i486-linux-libc5/lib/ (0x4009f000) => /usr/i486-linux-libc5/lib/ (0x400a7000)

Checking ldd for Joe user gives:

$ldd /usr/knox/bin/arkx => /usr/X11R6/lib/ (0x4000d000) => /usr/i486-linux-libc5/lib/ (0x400a4000) => /usr/i486-linux-libc5/lib/ (0x400ac000) => /lib/ (0x40175000) => /lib/ (0x4025a000)

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

$ ldd /usr/knox/bin/arkx => /usr/X11R6/lib/ (0x40003000) => not found => not found => /lib/ (0x4009a000)
        /lib/ => /lib/ (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?

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

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.



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