Re: [gtk-list] novice guestion...
- From: johannes nada kth se (Johannes Keukelaar)
- To: gtk-list redhat com
- Subject: Re: [gtk-list] novice guestion...
- Date: Tue, 09 Dec 1997 09:05:16 +0100
//I thought that I had GTK sucessfully installed on my system but when I
//tried to install Gimp I got this msg when I run configure:
//
//checking for gtk_button_new in -lgtk... no
//configure: error: Can not link with gtk/gdk/glib
//
//
//BUT, when I do a ldconfig -p this shows up...
//
//48 - ELF libgtk.so.1 => /usr/local/lib/libgtk.so.1.0.0
//49 - ELF libgpm.so.1 => /usr/lib/libgpm.so.1.10
//50 - ELF libglib.so.1 => /usr/local/lib/libglib.so.1.0.0
//51 - ELF libgdk.so.1 => /usr/local/lib/libgdk.so.1.0.0
//
//does this not indicate that I have GTK installed? sob sob
Yes, it seems like gtk c.s. have been installed. But perhaps gcc (?) does not look in /usr/local/lib by default? I've never had this problem myself, but you can check if that is the problem by running gcc by hand (I'm assuming that that is how the configure script checks for -lgtk).
Create a file like this:
--8<--
int main()
{
gtk_button_new( ); /* Or some such call. */
}
--8<--
Then run gcc on it like this:
gcc foo.c -o foo -lgtk
See what kind of errors this gives, that may tell you more.
Good luck,
Johannes.
--
"In sailing the digital ocean, theory provides the steerage, implementation
the wind" - William Bricken and Geoffrey Coco
Virtually researching virtual behaviour in a virtual world.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]