Error building gtk 2.8.17
- From: "Logan, David (SST - Adelaide)" <David Logan hp com>
- To: <gtk-list gnome org>
- Subject: Error building gtk 2.8.17
- Date: Wed, 19 Apr 2006 07:34:38 +1000
Hi Folks,
Could somebody please point out where I've gone wrong, I've downloaded
gtk-2.8.17 and compiled/built the latest versions of cairo, pango, atk
and glib. Move to the gtk source directory and ./configure and make and
everything is fine.
Do a sudo make install and the following error occurs :
make install-data-hook
make[4]: Entering directory `/u2/src/gtk+-2.8.17/modules/input'
/bin/sh ../../mkinstalldirs /usr/local/etc/gtk-2.0
../../gtk/gtk-query-immodules-2.0 > /usr/local/etc/gtk-2.0/gtk.immodules
/u2/src/gtk+-2.8.17/gtk/.libs/lt-gtk-query-immodules-2.0: error while
loading shared libraries: libpangocairo-1.0.so.0: cannot open shared
object file: No such file or directory
make[4]: *** [install-data-hook] Error 127
make[4]: Leaving directory `/u2/src/gtk+-2.8.17/modules/input'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/u2/src/gtk+-2.8.17/modules/input'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/u2/src/gtk+-2.8.17/modules/input'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/u2/src/gtk+-2.8.17/modules'
make: *** [install-recursive] Error 1
[davidl darkmeat gtk+-2.8.17]$
What is curious is the fact that libpangocairo-1.0.so.0 does indeed
exist (as shown below)
[davidl darkmeat gtk+-2.8.17]$ ls -l
/usr/local/lib/libpangocairo-1.0.so.0
lrwxrwxrwx 1 root root 29 Apr 18 21:31
/usr/local/lib/libpangocairo-1.0.so.0 -> libpangocairo-1.0.so.0.1003.1
[davidl darkmeat gtk+-2.8.17]$ ls -l
/usr/local/lib/libpangocairo-1.0.so.0.1003.1
-rwxr-xr-x 1 root root 90483 Apr 18 21:31
/usr/local/lib/libpangocairo-1.0.so.0.1003.1
[davidl darkmeat gtk+-2.8.17]$ cat /etc/redhat-release
CentOS release 4.2 (Final)
[davidl darkmeat gtk+-2.8.17]$ pkg-config --modversion atk
1.10.3
[davidl darkmeat gtk+-2.8.17]$ pkg-config --modversion glib-2.0
2.8.6
[davidl darkmeat gtk+-2.8.17]$ pkg-config --modversion pango
1.10.4
[davidl darkmeat gtk+-2.8.17]$ pkg-config --modversion cairo
1.0.4
[davidl darkmeat gtk+-2.8.17]$ echo $LD_LIBRARY_PATH
/usr/local/qt/lib:/usr/local/lib:/usr/lib:/lib
[davidl darkmeat gtk+-2.8.17]$ echo $PKG_CONFIG_PATH
/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
What is even more curious is the fact that
/u2/src/gtk+-2.8.17/gtk/.libs/lt-gtk-query-immodules-2.0 shows it has
libpangocairo-1.0.so.0
[davidl darkmeat gtk+-2.8.17]$ ldd
/u2/src/gtk+-2.8.17/gtk/.libs/lt-gtk-query-immodules-2.0
libgtk-x11-2.0.so.0 =>
/u2/src/gtk+-2.8.17/gtk/.libs/libgtk-x11-2.0.so.0 (0x009c7000)
libgdk-x11-2.0.so.0 =>
/u2/src/gtk+-2.8.17/gdk/.libs/libgdk-x11-2.0.so.0 (0x0079d000)
libatk-1.0.so.0 => /usr/local/lib/libatk-1.0.so.0 (0x00119000)
libgdk_pixbuf-2.0.so.0 =>
/u2/src/gtk+-2.8.17/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so.0 (0x0070a000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x008f5000)
libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x00923000)
libpangocairo-1.0.so.0 => /usr/local/lib/libpangocairo-1.0.so.0
(0x002b6000)
libpangoft2-1.0.so.0 => /usr/local/lib/libpangoft2-1.0.so.0
(0x00132000)
libpango-1.0.so.0 => /usr/local/lib/libpango-1.0.so.0
(0x00155000)
libcairo.so.2 => /usr/local/lib/libcairo.so.2 (0x00964000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x0018a000)
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x001ad000)
libz.so.1 => /usr/lib/libz.so.1 (0x00272000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x004f5000)
libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x0062f000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x005b0000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0034d000)
libXfixes.so.3 => /usr/X11R6/lib/libXfixes.so.3 (0x0020b000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0035b000)
libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0
(0x00c7a000)
libdl.so.2 => /lib/libdl.so.2 (0x0026c000)
libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0
(0x00210000)
libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x002bc000)
libm.so.6 => /lib/tls/libm.so.6 (0x00247000)
libc.so.6 => /lib/tls/libc.so.6 (0x00c7d000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x004be000)
I also thought perhaps it was an error in the libpangocairo linkages
however it appears happy with all its library dependencies.
[davidl darkmeat gtk+-2.8.17]$ ldd /usr/local/lib/libpangocairo-1.0.so.0
libpango-1.0.so.0 => /usr/local/lib/libpango-1.0.so.0
(0x00a5c000)
libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0
(0x00119000)
libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0
(0x00884000)
libdl.so.2 => /lib/libdl.so.2 (0x008bc000)
libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x00b6b000)
libcairo.so.2 => /usr/local/lib/libcairo.so.2 (0x00a02000)
libpangoft2-1.0.so.0 => /usr/local/lib/libpangoft2-1.0.so.0
(0x00188000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x0025a000)
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x00e51000)
libz.so.1 => /usr/lib/libz.so.1 (0x00953000)
libc.so.6 => /lib/tls/libc.so.6 (0x00280000)
libm.so.6 => /lib/tls/libm.so.6 (0x00790000)
/lib/ld-linux.so.2 (0x00102000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x003c4000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x003d6000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x00f10000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x0014d000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x004cf000)
Any assistance gratefully received.
Regards
David Logan
South Australia
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]