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

pixmap-2.6p4-1.i386.rpm

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

        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40019000)
        libXaw.so.6 => /usr/X11R6/lib/libXaw.so.6 (0x40028000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4006f000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40085000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x400de000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400e7000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400fe000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4010e000)
        libm.so.5 => /usr/i486-linux-libc5/lib/libm.so.5 (0x401d9000)
        libc.so.5 => /usr/i486-linux-libc5/lib/libc.so.5 (0x401e1000)
        libc.so.6 => /lib/libc.so.6 (0x402aa000)
        libdl.so.2 => /lib/libdl.so.2 (0x403c6000)
        ld-linux.so.2 => /lib/ld-linux.so.2 (0x403c9000)

as user, whereas, as root, I get

        libXpm.so.4 => /usr/i486-linux-libc5/lib/libXpm.so.4 (0x40019000)
        libXaw.so.6 => /usr/i486-linux-libc5/lib/libXaw.so.6 (0x40027000)
        libXmu.so.6 => /usr/i486-linux-libc5/lib/libXmu.so.6 (0x4005c000)
        libXt.so.6 => /usr/i486-linux-libc5/lib/libXt.so.6 (0x4006d000)
        libSM.so.6 => /usr/i486-linux-libc5/lib/libSM.so.6 (0x400ab000)
        libICE.so.6 => /usr/i486-linux-libc5/lib/libICE.so.6 (0x400b3000)
        libXext.so.6 => /usr/i486-linux-libc5/lib/libXext.so.6 (0x400c7000)
        libX11.so.6 => /usr/i486-linux-libc5/lib/libX11.so.6 (0x400d1000)
        libm.so.5 => /usr/i486-linux-libc5/lib/libm.so.5 (0x40163000)
        libc.so.5 => /usr/i486-linux-libc5/lib/libc.so.5 (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

Fabio

 
 
 

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
http://socrates.mps.ohio-state.edu/~ccunning

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?