3.3.2r3_x86_linux_2.0: vncviewer causes segfault
Andy Thomas
andy "at" anugraha.cc.kcl.ac.uk
Thu, 18 Mar 1999 06:41:04 +0000
On Wed, 17 Mar 1999, Sebastian Marius Kirsch wrote:
>
> When I run ldd on the executable, it shows something very strange:
>
> ---
> moebius:/home/skirsch $ ldd /usr/local/bin/vncviewer
> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4000b000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40017000)
> libc.so.5 => /lib/libc.so.5 (0x400ba000)
> libc.so.6 => /lib/libc.so.6 (0x40178000)
> ld-linux.so.2 => /lib/ld-linux.so.2 (0x4021d000)
> --
>
> Apparently the vncviewer is linked both against libc5 and glibc2, and I
> suspect this to be the problem. All the other executables are linked
> only against libc5. (Hell, I wouldn't even know how to tell the compiler
> to link a program against two C libraries!)
Running ldd on my Slackware Linux gives:
purdy:~$ ldd /usr/local/bin/vncviewer
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4000a000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40013000)
libc.so.5 => /lib/libc.so.5 (0x40090000)
maybe you have both libc5 and the new glibs (aka libc6) installed?
> BTW, VNC is a great piece of software. And it's fast enough to allow me
> to run Corel DRAW! remote from a windows box, sitting comfortably in
> front of my own computer. (Corel is just about the only program I lack
> under Linux -- but it's one I need desparately. :-( )
Well, there's some good news here - following the success of WordPerfect 8
for Linux, Corel will eventually port Draw to Linux.
Andy
---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------