SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
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.
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.
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
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)
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 ....