Package: icedove
Version: 3.0.11-1+squeeze15
Severity: important
On my system, the first time icedove is started with an empty or
non-existent $HOME/.icedove directory, it crashes with the message

/usr/lib/icedove/icedove-bin: symbol lookup error: 
/usr/lib/icedove/components/libmailcomps.so: undefined symbol: 
NS_CStringContainerInit2

I guess the problem is caused by the fact that
1. icedove-bin is linked against libxpcom_core.so but not against
   libxpcom.so (as per objdump output)
2. for some reason, the first time icedove is started it dlopen()s
   libmailcomps.so before libxpcom.so.

A quick and dirty workaround consists in setting the environment variable
LD_BIND_NOW=1 before launching the executable (see the following patch).
Of course it would be much better to change the build script in order
to add libxpcom.so to the libraries.

Best regards,
        g1

PS: I see that there are several (merged) bug reports that are
variations on this theme, with different undefined symbols.  Maybe the
trick works for them too.

==== cut here
--- /usr/bin/icedove.old        2013-03-08 22:21:58.000000000 +0100
+++ /usr/bin/icedove    2013-03-08 22:24:23.000000000 +0100
@@ -109,6 +109,10 @@
     echo "*INFO* No $HOME/.$pfname detected. Moving $HOME/.mozilla-thunderbird 
into this place"
     mv $HOME/.mozilla-thunderbird $HOME/.$pfname
   fi
+  if [ ! -d "$HOME/.$pfname" ] || [ ! -f "$HOME/.$pfname/profiles.ini" ]; then
+    LD_BIND_NOW=1
+    export LD_BIND_NOW
+  fi
 fi
 
 script_args=""
==== cut here

-- System Information:
Debian Release: 6.0.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages icedove depends on:
ii  debianutils           3.4                Miscellaneous utilities specific t
pi  fontconfig            2.8.0-2.1          generic font configuration library
pi  libasound2            1.0.23-2.1         shared library for ALSA applicatio
pi  libatk1.0-0           1.30.0-1           The ATK accessibility toolkit
pi  libc6                 2.11.3-4           Embedded GNU C Library: Shared lib
ii  libcairo2             1.8.10-6           The Cairo 2D vector graphics libra
ii  libdbus-1-3           1.2.24-4+squeeze2  simple interprocess messaging syst
pi  libfontconfig1        2.8.0-2.1          generic font configuration library
pi  libfreetype6          2.4.2-2.1+squeeze4 FreeType 2 font engine, shared lib
pi  libgcc1               1:4.4.5-8          GCC support library
pi  libglib2.0-0          2.24.2-1           The GLib library of C routines
pi  libgtk2.0-0           2.20.1-2           The GTK+ graphical user interface 
pi  libjpeg62             6b1-1              The Independent JPEG Group's JPEG 
ii  libnspr4-0d           4.8.6-1            NetScape Portable Runtime Library
ii  libnss3-1d            3.12.8-1+squeeze6  Network Security Service libraries
pi  libpango1.0-0         1.28.3-1+squeeze2  Layout and rendering of internatio
pi  libpng12-0            1.2.44-1+squeeze4  PNG library - runtime
ii  libsqlite3-0          3.7.3-1            SQLite 3 shared library
pi  libstartup-notificati 0.10-1             library for program launch feedbac
pi  libstdc++6            4.4.5-8            The GNU Standard C++ Library v3
pi  libx11-6              2:1.3.3-4          X11 client-side library
pi  libxrender1           1:0.9.6-1          X Rendering Extension client libra
pi  libxt6                1:1.0.7-1          X11 toolkit intrinsics library
pi  psmisc                22.11-1            utilities that use the proc file s
pi  zlib1g                1:1.2.3.4.dfsg-3   compression library - runtime

Versions of packages icedove recommends:
pi  myspell-en-us [myspell-dictio 1:3.2.1-2  English_american dictionary for my

Versions of packages icedove suggests:
ii  libdbus-glib-1-2    0.88-2.1+squeeze1    simple interprocess messaging syst
pi  libgconf2-4         2.28.1-6             GNOME configuration database syste
pn  libgnome2-0         <none>               (no description available)
pn  libgnomevfs2-0      <none>               (no description available)
pi  libgssapi-krb5-2    1.8.3+dfsg-4squeeze6 MIT Kerberos runtime libraries - k
pi  ttf-lyx             1.6.7-1              TrueType versions of some TeX font

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to