Re: x11amp 0.9-beta1.1
On Wed, 14 Apr 1999 surak@imsa.edu wrote:
> I'm guessing you are running potato, so if not this may not apply:
Actually, I'm basically running a glibc2 version of potato. :) (I
compiled many of the potato stuff using the glibc2 in slink on a slink
system). I'm still a little squeamish about glibc2.1 and I'm running
potato at work where ddd has just stopped working since upgrading from
slink. I need ddd at home, so I'm not willing to take that step yet.
> I've compiled every prerelease version of x11amp, up to and including
> beta1.1, without problems. You have the gtk and glib stuff, but do you have
> the gdk stuff too? For me, x11amp needs these libraries:
>
> tomorrow:~> ldd /usr/local/bin/x11amp
> libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40015000)
> libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40138000)
> libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x4016c000)
> libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x4016f000)
> libdl.so.2 => /lib/libdl.so.2 (0x40191000)
> libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40199000)
> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x401a2000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401ae000)
> libm.so.6 => /lib/libm.so.6 (0x40251000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x4026e000)
> libx11amp.so.0 => /usr/local/lib/libx11amp.so.0 (0x4027f000)
> libc.so.6 => /lib/libc.so.6 (0x40284000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> tomorrow:~>
Thanks for posting that... made me look at mine which is almost the
same... except for a few key differences: The first 4 libraries are
missing! Well, that'll cause the errors I was getting, unfortunately, I
haven't the foggiest idea how to correct that.
> You may want to do a dpkg -S on the libgdk library... I can't really think
> of anything else.
I do have it installed.
root@bolverk:[/home/odin]# dpkg -l|grep gdk
ii gdk-imlib-dev 1.9.4-1 Header files needed for Gdk-Imlib developmen
ii gdk-imlib1 1.9.4-1 Gdk-Imlib is an imaging library for use with
ii libgtk-imlib-pe 0.5000-1 Perl module for the gtk+ and gdkimlib librar
> You wouldn't have more than one gtk/gdk/glib packages installed, would you?
> Could that be also the problem? I got rid of the old versions, so I didn't
> have to worry about that.
I do, though it hasn't caused a problem in the past (even with
x11amp-0.9a[123]) I have libgtk1 installed for the version of gimp I run
(I've been meaning to upgrade, maybe this is an excuse) but not
libgtk1-dev, so I don't see how stuff like this could be happening.
> Hope that helps (although it probably doesn't),
Actually, it helped me find the problem! Now for a solution... :)
Here's a typical "link it together" gcc line during 'make':
gcc -O2 -I.. -I.. -DDATADIR=\"/usr/local/share/x11amp\"
-I/usr/X11R6/include -I/usr/lib/glib/include -o .libs/wmx11amp getopt.o
getopt1.o wmx11amp.o -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
../libx11amp/.libs/libx11amp.so -lglib -Wl,--rpath -Wl,/usr/local/lib
So I definately am linking in gtk, gdk, and glib!
hmm... now that I think of it, should this say something like '-lgtk-1.2'?
After all, the .so file is /usr/lib/libgtk-1.2.so.0. I'm trying it now.
If it doesn't work, I'll send this message. :)
hmm... maybe not:
odin@bolverk:[~/x11amp-0.9-beta1.1]$ gtk-config --version
1.2.0
odin@bolverk:[~/x11amp-0.9-beta1.1]$ gtk-config --libs
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl
-lXi -lXext -lX11 -lm
well... I'm at a loss. Thanks for the tips, do you or anyone else have
any further ideas?
Thanks!
-Dano
Reply to: