Upon attempting to execute Mozilla Firebird 0.6-r6 I get the following error message: joycea:~$ /usr/lib/MozillaFirebird/MozillaFirebird-bin /usr/lib/MozillaFirebird/MozillaFirebird-bin: relocation error: /usr/lib/MozillaFirebird/MozillaFirebird-bin: undefined symbol: _ZTI24nsASingleFragmentCString And here are the last few lines from an strace: fstat64(3, {st_mode=S_IFREG|0755, st_size=198424, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40699000 mmap2(NULL, 150756, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4069a000 mprotect(0x406bc000, 11492, PROT_NONE) = 0 mmap2(0x406bc000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x22) = 0x406bc000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x406bf000 writev(2, [{"/usr/lib/MozillaFirebird/Mozilla"..., 44}, {": ", 2}, {"relocation error", 16}, {": ", 2}, {"/usr/lib/MozillaFirebird/Mozilla"..., 44}, {": ", 2}, {"undefined symbol: _ZTI24nsASingl"..., 48}, {"", 0}, {"", 0}, {"\n", 1}], 10/usr/lib/MozillaFirebird/MozillaFirebird-bin: relocation error: /usr/lib/MozillaFirebird/MozillaFirebird-bin: undefined symbol: _ZTI24nsASingleFragmentCString ) = 159 _exit(127) = ? I seem to not be the only one experiencing this problem. I did an 'emerge -u world' the day before this started happening. I believe this may be the cause of my troubles as gcc, glibc and binutils seem to have gone through an update in that time. Since that time I have re-emerged all three though as well as FireBird and the problem still persists. As indicated above, this is also being discussed in the forums at, http://forums.gentoo.org/viewtopic.php?p=430005#430005
That's normal; you need to run Firebird using the launcher script in /usr/bin/MozillaFirebird.
Same problem on my system, running /usr/bin/MozillaFirebird does NOT help.
Going to need some info then. Is Firebird being built with GTK+ 1 or 2? What CFLAGS are being used? Show me the output of emerge info
Changing the use flag gtk2 to -gtk2 allowed me to get it running. As Staffan mentioned, the script didn't work for me and this was the reason I was trying to run the binary directly. I was trying to get some insight into why it stopped working all of a sudden. This is the 'emerge info' output from my system, the flags reflect the ones I just used to recompile and got it working. GTK2 flag was set previously when it didn't work, this is the only change. Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r4,2.3.2-r1) ================================================================= System uname: 2.4.20 i686 AMD Athlon(TM) XP1700+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu x/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/co nfig" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikm od mmx mpeg ncurses pdflib png quicktime spell truetype xmms xv zlib gtkhtml als a gdbm berkdb slang readline arts tetex bonobo svga ggi tcltk java guile mysql s dl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis qt motif opengl mozil la snmp cdr scanner X gtk -gtk2 gnome kde pda dvd imap mbox -maildir libgd gd mo znoirc moznomail moznocompose xml xml2 PEAR apache2 -nls" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j6" AUTOCLEAN="yes" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage/" FEATURES="sandbox ccache"
What version of GTK 2 do you have installed?
Here is the listing from qpkg, joycea:~$ qpkg gtk+ -i | grep \* x11-libs/gtk+-1.2.10-r7 * x11-libs/gtk+-2.2.1 * x11-libs/gtk+-1.2.10-r10 *
cybe@daneel[/usr/lib/MozillaFirebird]$./MozillaFirebird-bin ./MozillaFirebird-bin: relocation error: ./MozillaFirebird-bin: undefined symbol: _ZTI24nsASingleFragmentCString cybe@daneel[/usr/lib/MozillaFirebird]$ root@daneel[~]$qpkg gtk+ -i | grep \* x11-libs/gtk+-2.2.1 * x11-libs/gtk+-1.2.10-r10 * root@daneel[/pub/doc]$emerge info Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21 i686 Mobile AMD Athlon(tm) XP 1500+ GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo http://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline arts aalib bonobo svga tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome qt kde motif opengl mozilla acpi acpi4linux apache2 -apache gtk -gtk2" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
has this been resolved? i'm seeing the same thing on ppc.
I'm unable to reproduce this on any platform. The relocation error occurs because MozillaFirebird-bin is not the proper thing to load - not sure how or why the error is occurring when launching the MozillaFirebird script, but I suspect it's a bad environment.
this has been fixed for me. i had to remove an old $HOME/.phoenix directory. once i did that, Firebird ran like a champ.
closing this bug since mozilla-firebird no longer exists in portage, and as far as we know, the problem hasn't been persistent.