LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


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

Rep: Reputation: 0
pkg-config


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

Quote:
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, 04:54 AM   #2
brimble2010
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 05:04 PM.
 
Old 08-19-2005, 02:46 AM   #3
Lynx_ss
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, 08: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 ,

libgtk-directfb-2.0.so.0 => not found
libgdk-directfb-2.0.so.0 => not found
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00675000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x002a4000)
libpangocairo-1.0.so.0 => not found
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x002e3000)
libcairo.so.2 => not found
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00dab000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00da6000)
libdl.so.2 => /lib/libdl.so.2 (0x00a0f000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00c3c000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00b4d000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00bd7000)
libdirectfb-1.1.so.0 => not found
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x0069e000)
libfusion-1.1.so.0 => not found
libdirect-1.1.so.0 => not found
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00af0000)
libcurl.so.3 => /usr/lib/libcurl.so.3 (0x00a6b000)
libjpg.so => /root/FL-3.1-RTP_DFB_GDK/source/projects/reference/linux/makefiles/dtop/release/libjpg.so (0x006ff000)
libm.so.6 => /lib/tls/libm.so.6 (0x009ea000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00cd9000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00c32000)
libc.so.6 => /lib/tls/libc.so.6 (0x008be000)
/lib/ld-linux.so.2 (0x008a1000)
libz.so.1 => /usr/lib/libz.so.1 (0x00a15000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00bb6000)
libidn.so.11 => /usr/lib/libidn.so.11 (0x00111000)
libssl.so.4 => /lib/libssl.so.4 (0x0031b000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x001b9000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x0018b000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x0034f000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00de9000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00141000)
libresolv.so.2 => /lib/libresolv.so.2 (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 ....


Thanks
 
  


Reply



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 05:48 AM
pkg-config supersucker Linux - Software 3 09-07-2004 09:45 AM
pkg-config help gexzd Linux - Newbie 14 05-03-2004 10:27 AM
How do i use PKG-Config? A1Ph4 Linux - Software 1 08-08-2003 09:06 PM
pkg-config TraCe66 Linux - Newbie 1 07-01-2003 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:22 AM.

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