LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-10-2010, 09:07 AM   #1
san_to_all
LQ Newbie
 
Registered: Sep 2010
Posts: 24

Rep: Reputation: 0
While installing gnocky PAG CONFIG_PATH_ERROR


Hi,
I have Fedora 10 installed. While installing gnocky-0.0.7 from source
I got the following error while compiling.
------------------------------------
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.0.0, glib-2.0 >= 2.0.0, gthread-2.0 >= 2.0.0, libglade-2.0 >= 2.0, gnokii >= 0.5.7... Package gnokii was not found in the pkg-config search path. Perhaps you should add the directory containing `gnokii.pc' to the PKG_CONFIG_PATH environment variable No package 'gnokii' found
configure: error: Library requirements (gtk+-2.0 >= 2.0.0, glib-2.0 >= 2.0.0, gthread-2.0 >= 2.0.0, libglade-2.0 >= 2.0, gnokii >= 0.5.7) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandardprefix so pkg-config can find them.
[santosh@localhost gnocky-0.0.1]$
-------------------------------------
When I searched for gtk it was in
/etc/gtk-2.0
/usr/include/gtk-2.0
/usr/lib/gtk-2.0
/usr/share/gtk-2.0

When I searched for glib
/usr/include/glib-2.0
/usr/lib/glib-2.0
/usr/share/glib-2.0

When I searched for gthread
/lib/libgthread-2.0.so.0
/usr/lib/libgthread-2.0.so
/usr/lib/pkgconfig/libgthread-2.0.pc

When I searched for libglade
/usr/include/libglade-2.0
/usr/lib/libglade
/usr/share/xml/libglade

and I know gnokii is surely installed. Because I run it from shell.

Any help please?
 
Old 09-10-2010, 11:41 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ. .. .. ..

A missing "package", gnokii means /usr/lib/pkgconfig/gnokii.pc .

Did you install 'gnokii-devel' ? # yum install gnokii-devel

..
 
1 members found this post helpful.
Old 09-10-2010, 10:30 PM   #3
san_to_all
LQ Newbie
 
Registered: Sep 2010
Posts: 24

Original Poster
Rep: Reputation: 0
Will installing old version of gnocky solve the problem?

Hi,knudfl
Thanks, for your quick responce.
Being from other OS community I was expecting late response. I just heard that one of the best thing of using the linux is that you will get quick help.and now I am experiencing just that. May linux community grow.
gnokii.pc not found on my computer.
I had not installed gnokii-devel.After your suggestion I was trying to install it. but it keeps updating too much packages. On my slow internet connection this was overnight practice.
Will installing old version of gnocky solve the problem?

Last edited by san_to_all; 09-10-2010 at 10:39 PM.
 
Old 09-11-2010, 01:12 PM   #4
san_to_all
LQ Newbie
 
Registered: Sep 2010
Posts: 24

Original Poster
Rep: Reputation: 0
Hi,knudfl

I tried installing gnokii 0.6.29 from source it was reporting mysql.h is missing. installtion was half complete.
I copied gnokii.pc from gnokii 0.6.29 source directory to /usr/lib/pkgconfig/ and compiled gnocky. this time above error not appeared. but installation was not complete. Gnocky appeared in menu but not functioning. running it from shell gives error like
-------------------
[root@localhost gnocky-0.0.7]# gnocky
gnocky: error while loading shared libraries: libgnokii.so.6: cannot open shared object file: No such file or directory
-----------------------

libgnokii.so.6 is in /usr/local/lib/ link to shared library
libgnokii.so.6.0.0 /usr/local/lib/ shared library

My SQL version is 14.12 Should I just search internet and copy mysql.h? and if in which directory?

Last edited by san_to_all; 09-11-2010 at 01:18 PM.
 
Old 09-11-2010, 01:36 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Why not use the default 'gnoii-0.6.27' ? Isn't that OK ?
# yum install gnokii-devel

Installing to /usr/local/lib/ : Not all programs will look there.
I am not quite sure if /usr/local/lib/ is in the default search path.
First try : # /sbin/ldconfig
If 'libgnokii.so.6' is still not found, 1) either add a line to
/etc/ld.so.conf : /usr/local/lib ,,, and rerun # /sbin/ldconfig

2) Or start gnocky with :
export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib && gnocky

3) Still not working ? Then one must suspect, that gnocky is hard coded
to look in /usr/lib/ only : Install gnokii to /usr/lib/ .
Preferably by doing # yum install .....
And recompile gnocky to use gnokii version 0.6.27 .

P.S. : Copying files isn't sufficient.
The <-devel> packages contain other required files.
..

Last edited by knudfl; 09-11-2010 at 03:01 PM.
 
1 members found this post helpful.
Old 09-11-2010, 02:19 PM   #6
san_to_all
LQ Newbie
 
Registered: Sep 2010
Posts: 24

Original Poster
Rep: Reputation: 0
I will try all your suggestions.
Although with half completed installation of gnokii 0.6.29, Xgnokii installed now. and working perfect. I will give it a last try to gnokcy.otherwise I will be happy with Xgnokii.

Thanks for your help.
 
Old 09-13-2010, 09:19 AM   #7
san_to_all
LQ Newbie
 
Registered: Sep 2010
Posts: 24

Original Poster
Rep: Reputation: 0
Hi,Kundfl

Yeah,... starting gnoky with export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib && gnocky opened the gnocky and working perfect.

1) Installing gnokii-devel simply wasn't possible on my slow internet connnection.

2) Issuing command /sbin/ldconfig showed error
----------
[santosh@localhost ~]$ /sbin/ldconfig
/sbin/ldconfig: Can't open configuration file /etc/ld.so.conf: Too many open files
-------------

3) I have not tried editing /etc/ld.so.conf file.

Looking at gnocky has only two features I found Xgnokii too good.
So I am using Xgnokii.

Thanks for your timely help.
 
  


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
Installing Simplescalar: Problem installing simpleutils yy_current_buffer’ undeclared niteshg Linux - Software 1 07-03-2009 04:09 PM
Toshiba Satellite 110CS installing pdf reader, installing linux nappy501 Linux - Laptop and Netbook 3 10-11-2008 10:45 AM
Installing individual OpenOffice apps without installing the entire suite? roystonlodge DamnSmallLinux 3 06-06-2008 01:14 PM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM
Installing Mandriva 2006 - Hangs installing hard drive controller nvidia mcp04 sata DanielJPayne Mandriva 7 01-19-2006 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:39 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