Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 08-15-2005, 05:40 AM   #1
LQ Newbie
Registered: Aug 2005
Posts: 8

Rep: Reputation: 0

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?
Old 08-15-2005, 05:54 AM   #2
LQ Newbie
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
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

Last edited by brimble2010; 08-15-2005 at 06:04 PM.
Old 08-19-2005, 03:46 AM   #3
LQ Newbie
Registered: Jun 2005
Distribution: SuSE 6.4-10.0
Posts: 7

Rep: Reputation: 0
I got this error trying to install gaim

Just install the gtk2-devel package with yast and it should work.
Old 05-19-2008, 09:01 AM   #4
Riddhi Rajaram
LQ Newbie
Registered: May 2008
Posts: 1

Rep: Reputation: 0
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 ....



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pkg-config sinXposed Linux - Software 12 10-30-2008 06:48 AM
pkg-config supersucker Linux - Software 3 09-07-2004 10:45 AM
pkg-config help gexzd Linux - Newbie 14 05-03-2004 11:27 AM
How do i use PKG-Config? A1Ph4 Linux - Software 1 08-08-2003 10:06 PM
pkg-config TraCe66 Linux - Newbie 1 07-01-2003 03:56 PM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration