Re: cannot execute GTK1.2 Application
- From: David Shaw <dshaw256 earthlink net>
- To: Anees Shahul <anees_sh yahoo com>
- Cc: gtk-list gnome org
- Subject: Re: cannot execute GTK1.2 Application
- Date: Tue, 02 May 2006 16:11:54 -0400
On Tue, 2006-05-02 at 17:12 +0100, Anees Shahul wrote:
I have installed GTK+-1.2.10 and GLIB1.2.10.I am using
Fedora core2.0.When tried to run some sample
applications,it came with an error "Cannot load shared
libraries".Any help appreciated.
I have gtk+-1.2.10-39 and glib-1.2.10-16, but I appear to have 2.0 headers installed. Fedora Core 4. I figured this out by looking at /usr/include. Anyway, I compile like this:
gcc -o <whatever> <whatever.c> `pkg-config --libs gtk+-2.0 --cflags gtk+-2.0`
I get a clean compile every time with samples from the book I'm running through just now.
To confirm, run the pkg-config --libs... command by itself and see what results you get. This or some close analog should work for you.
Dave Shaw
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]