why cannot it find the library of gtk2.0.6?



主题: why cannot it find the library of gtk2.0.6?
收件人: gtk_list gnome org
      

I just  installed gtk+2.0.6,then I try the following command:

$gcc hellow.c -o hellow `pkg-config --cflags --libs  gtk+2.0`

it seem ok,then I try :

$hellow

and error occured:"error while loading shared libraries:libgtk-x11-2.0.so.0:cannot open shared object

file:no such file or directory."

but I did have that file in /usr/local/lib,it is linked to libgtk-x11-2.0.so.0.0.6   .

what should I do?

 



Do You Yahoo!?
雅虎娱乐新鲜到底,电子周报快乐到家!

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