Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119578 - thunderbird 1.0.7 crashes at startup (pango related)
Summary: thunderbird 1.0.7 crashes at startup (pango related)
Status: RESOLVED DUPLICATE of bug 109231
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 11:04 UTC by Jorge Nerin
Modified: 2006-01-19 11:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jorge Nerin 2006-01-19 11:04:22 UTC
I have a newly installed gentoo 2005.1, after installing for first time mozilla-thunderbird-1.0.7 it would not start. It has undefined symbols in a dll:

ldd -r /usr/lib/mozilla-thunderbird/components/libgfx_gtk.so
        linux-gate.so.1 =>  (0xffffe000)
        libxpcom.so => /usr/lib/mozilla-firefox/libxpcom.so (0xb7e1b000)
        libplds4.so => /usr/lib/mozilla-firefox/libplds4.so (0xb7e16000)
        libplc4.so => /usr/lib/mozilla-firefox/libplc4.so (0xb7e10000)
        libnspr4.so => /usr/lib/mozilla-firefox/libnspr4.so (0xb7ddb000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7dc8000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7dc4000)
        libgkgfx.so => /usr/lib/mozilla-firefox/libgkgfx.so (0xb7da1000)
        libmozjs.so => /usr/lib/mozilla-firefox/libmozjs.so (0xb7d1d000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7992000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb78f9000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb78d8000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb78be000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb78b5000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7872000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7813000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb77cd000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb77c8000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7730000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb770d000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6 (0xb75d9000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libgcc_s.so.1 (0xb75cf000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb74b4000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7488000)
        /lib/ld-linux.so.2 (0x80000000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb73a1000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb739b000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb7391000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb738d000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7361000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7355000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb734a000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7338000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7332000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb72ae000)
        libz.so.1 => /lib/libz.so.1 (0xb7299000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb725c000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb7234000)
undefined symbol: pango_x_list_subfonts (/usr/lib/mozilla-thunderbird/components/libgfx_gtk.so)
undefined symbol: pango_x_font_subfont_xlfd     (/usr/lib/mozilla-thunderbird/components/libgfx_gtk.so)
undefined symbol: pango_x_font_map_for_display  (/usr/lib/mozilla-thunderbird/components/libgfx_gtk.so)

Those symbols are in /usr/lib/libpangox-1.0.so which is not linked here.

After fiddling with the flags with no luck (moznoxft did not help) I resorted to a last try:

LD_PRELOAD=/usr/lib/libpangox-1.0.so thunderbird

It worked but it is a temporary hack used to confirm that somehow in the build procces there is a library left over in the linking phase.

Relevant installed libraries are:
x11-libs/pango-1.10.2
x11-libs/gtk+-2.8.8
dev-libs/glib-2.8.4

mozilla-firefox works ok, I think it's fixed since Nov,11, there are two patches in the files directory of firefox that seem to do that:

mozilla-1.7.12-gtk2-needs-pangox-and-pangoxft.patch
mozilla-1.7.12-pango-needs-pangox.patch

It is a newly installed system, has less than a week and I have been battling with this since the beggining, on a freshly installed gentoo 2005.1 system you can't use mozilla-thunderbird because of this.

emerge info:

Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.bobinadosmael.es/ http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirror.sdv.fr http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://darkstar.ist.utl.pt/gentoo/ http://ftp.caliu.info/pub/gentoo/ http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://internet.bobinadosmael.es/gentoo-portage"
USE="3dnow X Xaw3d acl acpi alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 bzlib cdr crypt cups curl dga dio dvd dvdr eds emboss encode esd evo exif expat fam fftw foomaticdb fortran ftp gd gdbm gif gimpprint gmp gnome gnutls gpm gstreamer gtk gtk2 hardened iconv idn imagemagick imap imlib iodbc ipv6 java jikes jpeg kde lcms libedit libg++ libgda libwww lm_sensors mad mikmod mime mmap mmx mng motif mozilla mp3 mpeg ncurses nls nptl odbc ogg oggvorbis opengl oss pam pcntl pcre pdflib perl pic pie plotutils png posix ppds python qt quicktime rdesktop readline recode samba scanner sdl shared sharedmem slang spckets spell sse ssl svg sysvipc szip tcltk tcpd tidy tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wmf x86 xml xml2 xmlrpc xmms xpm xsl xv zlib linguas_es userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-19 11:07:37 UTC

*** This bug has been marked as a duplicate of 109231 ***