Re: gtk 1.2 to 2.0



On 20 Jul 2002 16:31:06 -0500
Pablo Fischer <exilion yifan net> wrote:

Sorry.. I look for the library that I thing its taking the problem, and
its here:

[root pablo Downloads]# cp /usr/lib/libgtk-x11-2
libgtk-x11-2.0.so.0      libgtk-x11-2.0.so.0.0.5  

OK, so the library is where it should be. 

and I have in my ld.conf (or that file).. /usr/lib/

Ok, also good.

:(, why cant I compile!!!

What does 'pkg-config --libs gtk+-2.0' give when you run it from the
command-line?

It should be something like:

slacker:~$ pkg-config --libs gtk+-2.0
 -L/opt/gtk2/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0 

But in your case it should contain -L/usr/lib. If it doesn't, there's something
wrong with your installation.

Also, try running ldconfig as root, and then try linking your program again.
 
Roland
-- 
R.F. Smith                           /"\    ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l      \ /    No HTML/RTF in email
http://www.xs4all.nl/~rsmith/         X     No Word docs in email
                                     / \    Respect for open standards

Attachment: pgpbRD64AgaAI.pgp
Description: PGP signature



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