Library problem, or what?

Library problem, or what?

Post by Fabi » Thu, 10 Apr 2003 18:25:56

Hi all,

I have the following problem, which I suspect is due to some library
problem, but I can't guess how.

I have a linuxbox with mdk 9.0. On it, I installed the old but still useful
icon editor called "pixmap". For the installation, I used the package


and it installed smoothly.

The point is that I can launch the program as root but, as normal user, I
always get a Segmentation fault.

I think it is somehow a library problem because the command
ldd /usr/X11R6/bin/pixmap
gives me the following output => /usr/X11R6/lib/ (0x40019000) => /usr/X11R6/lib/ (0x40028000) => /usr/X11R6/lib/ (0x4006f000) => /usr/X11R6/lib/ (0x40085000) => /usr/X11R6/lib/ (0x400de000) => /usr/X11R6/lib/ (0x400e7000) => /usr/X11R6/lib/ (0x400fe000) => /usr/X11R6/lib/ (0x4010e000) => /usr/i486-linux-libc5/lib/ (0x401d9000) => /usr/i486-linux-libc5/lib/ (0x401e1000) => /lib/ (0x402aa000) => /lib/ (0x403c6000) => /lib/ (0x403c9000)

as user, whereas, as root, I get => /usr/i486-linux-libc5/lib/ (0x40019000) => /usr/i486-linux-libc5/lib/ (0x40027000) => /usr/i486-linux-libc5/lib/ (0x4005c000) => /usr/i486-linux-libc5/lib/ (0x4006d000) => /usr/i486-linux-libc5/lib/ (0x400ab000) => /usr/i486-linux-libc5/lib/ (0x400b3000) => /usr/i486-linux-libc5/lib/ (0x400c7000) => /usr/i486-linux-libc5/lib/ (0x400d1000) => /usr/i486-linux-libc5/lib/ (0x40163000) => /usr/i486-linux-libc5/lib/ (0x4016b000)

It is the same, but for the last 3 rows and I guess the problem should be
there. Yet, I am not able to figure out why I have this problem, why I get
different results and, more important... ;-) how to fix it!

Any hint is appreciated. TIA



1. libraries libraries libraries

Okay, since I can't get Word Perfect to install, I am currently
downloading all 51 megs of star office. Unfortunately, I am running
redhat 5.0, so I need libc 5.4.22 or higher. Can I get this somewhere
and install it, or am I screwed? Please tell me I'm not spending 6 hours
dowloading for nothing...

Chad Cunningham

2. Netscape Server and IRIX 5.3 > 6.2

3. New X library causes `Can't load library libX....' problems!?

4. cciss patches for 2.4.21-rc1, 1 of 4

5. Problem linking when using C++ library in a library on Solaris

6. PowerChute or similar on FreeBSD???

7. Problems linking static library on executable and static library

8. dial-ups: puzzling results

9. mysterious shared library problem (setuid problem?)

10. Compiling static libraries as shared libraries

11. Building shared library which includes static libraries

12. KDE 1.1.2: Wrong JPEG library version: library is 62, caller expects 61

13. Can a static library be compiled into a shared library?