-   SUSE / openSUSE (
-   -   pkg-config (

brimble2010 08-15-2005 04:40 AM

i am trying to install gtkspell it just wont happen, ive installed many many other prequesistes but now im stuck with this:


checking for gtk+-2.0... Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found

configure: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
any help please? :)

brimble2010 08-15-2005 04:54 AM

oh yea, btw im using Suse 9.1 and KDE 3.4

BUMP: 30 views and no replys :(
REBUMP: 40 views and im still stuck

Lynx_ss 08-19-2005 02:46 AM

I got this error trying to install gaim ;)

Just install the gtk2-devel package with yast and it should work.

Riddhi Rajaram 05-19-2008 08:01 AM

How to set path for the pkg-config in Makefile ?
Hi ,
I have installed GTK-DFB in my red hat linux - kernel 2.6 . All my installations were perfect and i have installed my new gtk in the path /usr/local while my default gtk is in the path /usr. I have modified in my application makefile to refer to my new path /usr/local as

INCPATH = `pkg-config gtk+-2.0 --cflags --libs` -I/usr/local/include/gtk-2.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gtk-2.0/gdk

LIBS = $(SUBLIBS) -L/usr/local/lib `pkg-config gtk+-2.0 --cflags --libs` `pkg-config glib-2.0 --cflags --libs` -L/usr/local/lib -lfreetype -ldl -lfontconfig -lcurl

But my binary is getting created by referring to the libs inside /usr folder . When i use ldd < binary name > i get the following , => not found => not found => /usr/lib/ (0x00675000) => /usr/lib/ (0x002a4000) => not found => /usr/lib/ (0x002e3000) => not found => /usr/lib/ (0x00dab000) => /usr/lib/ (0x00da6000) => /lib/ (0x00a0f000) => /usr/lib/ (0x00c3c000) => /usr/lib/ (0x00b4d000) => /usr/lib/ (0x00bd7000) => not found => /usr/lib/ (0x0069e000) => not found => not found => /lib/tls/ (0x00af0000) => /usr/lib/ (0x00a6b000) => /root/FL-3.1-RTP_DFB_GDK/source/projects/reference/linux/makefiles/dtop/release/ (0x006ff000) => /lib/tls/ (0x009ea000) => /usr/lib/ (0x00cd9000) => /lib/ (0x00c32000) => /lib/tls/ (0x008be000)
/lib/ (0x008a1000) => /usr/lib/ (0x00a15000) => /usr/lib/ (0x00bb6000) => /usr/lib/ (0x00111000) => /lib/ (0x0031b000) => /lib/ (0x001b9000) => /usr/lib/ (0x0018b000) => /usr/lib/ (0x0034f000) => /lib/ (0x00de9000) => /usr/lib/ (0x00141000) => /lib/ (0x00b38000)

So the binary is referring to old path /usr and so some of the lib*.so files are not found .
What needs to be modified in the to make my application get compiled with my new set of libs inside the path /usr/local . Expecting suggestions ....


All times are GMT -5. The time now is 10:50 PM.