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? |
Welcome to LQ. .. .. :) ..
A missing "package", gnokii means /usr/lib/pkgconfig/gnokii.pc . Did you install 'gnokii-devel' ? # yum install gnokii-devel .. |
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? |
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? |
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. Thanks for your help. |
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. |
All times are GMT -5. The time now is 03:01 PM. |