[SOLVED] While installing gnocky PAG CONFIG_PATH_ERROR
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
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.
..
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.