1. Re: Wrapping GTK+ (partial answer)
On Sat, 14 Aug 1999, you wrote:
> On Sat, 14 Aug 1999, you wrote:
> > Pete replied to my question:
> >
> > Here's the bit of code I'm currently struggling with. The value displayed
> > for gtk is 0, so it doesn't seem to be connecting. As a result, the code
> > fails at the first c_proc.
It would seem that the failure is not because the library (libgtk.so or
libvga.so) isn't found, but that a library _called by_ these libraries is not
found
bash-2.02$ ls *.so
libgraphapp.so libgtk.so libm.so libvga.so
bash-2.02$ ldd libgraphapp.so -- (works)
libXaw.so.6 => /usr/X11R6/lib/libXaw.so.6 (0x4002d000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40065000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40077000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400bf000)
libc.so.6 => /lib/libc.so.6 (0x40164000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40211000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4021c000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40231000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
bash-2.02$ ldd libgtk.so -- (don't works)
libc.so.5 => not found
bash-2.02$ ldd libvga.so -- (don't works)
libm.so.5 => not found
So I looked for libm.so.5:
bash-2.02$ locate libm.so.5
/usr/i486-linux-libc5/lib/libm.so.5
/usr/i486-linux-libc5/lib/libm.so.5.0.9
The file is there, so this may be a problem caused by a missing path, or
configuration. But I don't know where to set that path. And making a link
to /usr/i486-linux-lib5c/lib/libm.so.5 in the current working directory doesn't
help.
Irv