Immeadiate Help Required, Urgent



Hi sir,
i am Raj joined wipro, Hyderabad,

i am facing a problem while trying to compile and run a
simple Gtk program,
i am logging into a Debian server from Windows 2000
machine using a trial version of Winaxe,
so i am getting an error while trying to run the GTK
program,

to compile i have used the default command 
" gcc ex.c `pkg-config --cflags --libs gtk+-2.0` "

but i am getting an error as
" gcc:
$(top_builddir)//usr/local/lib/pkgconfig/gdk-pixbuf/libgdk_pixbuf-2.0.la: No such file or directory "
 
for this i have written a scrip called a.sh as below

"gcc ex.c -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include
-I/usr/local/include/atk-1.0 -I/usr/local/lib/.
-I/usr/local/lib/ -I/usr/local/include/pango-1.0
-I/usr/X11R6/include -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include
-I/usr/local/lib/libgtk-x11-2.0.so.0
-Wl,--export-dynamic -L/usr/local/lib -lgtk-x11-2.0
-L/usr/local/lib/libgtk-x11-2.0.so.0 -lgdk-x11-2.0
-latk-1.0 -lm -lpangox-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0 " 

and it is getting compiled successfully but while
running the a.out file its giving an error

"./a.out: error while loading shared libraries:
libgtk-x11-2.0.so.0: cannot open shared object file: No
such file or directory"

so i request you to suggest me a solution for this
problem as early as possible.



-------------------------------------------------------------
Sign up for ICQmail at http://www.icq.com/icqmail/signup.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]