Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25219 - MozillaFirebird undefined symbol
Summary: MozillaFirebird undefined symbol
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on: 27790
Blocks:
  Show dependency tree
 
Reported: 2003-07-24 17:54 UTC by Andrew Joyce
Modified: 2004-03-18 19:24 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 Andrew Joyce 2003-07-24 17:54:11 UTC
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
Comment 1 Brad Laue (RETIRED) gentoo-dev 2003-07-24 21:34:18 UTC
That's normal; you need to run Firebird using the launcher script in /usr/bin/MozillaFirebird.
Comment 2 Staffan Enbom 2003-07-25 07:03:06 UTC
Same problem on my system, running /usr/bin/MozillaFirebird does NOT help.
Comment 3 Brad Laue (RETIRED) gentoo-dev 2003-07-25 08:28:21 UTC
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
Comment 4 Andrew Joyce 2003-07-25 09:04:35 UTC
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"
Comment 5 Brad Laue (RETIRED) gentoo-dev 2003-07-25 17:53:09 UTC
What version of GTK 2 do you have installed?
Comment 6 Andrew Joyce 2003-07-25 18:07:25 UTC
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 *
Comment 7 Staffan Enbom 2003-07-26 12:11:35 UTC
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"






 
Comment 8 Jonathan Nall 2003-11-02 10:06:14 UTC
has this been resolved? i'm seeing the same thing on ppc.
Comment 9 Brad Laue (RETIRED) gentoo-dev 2003-11-04 06:53:50 UTC
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.
Comment 10 Jonathan Nall 2003-11-28 09:08:50 UTC
this has been fixed for me. i had to remove an old $HOME/.phoenix directory. once i did that, Firebird ran like a champ.
Comment 11 Aron Griffis (RETIRED) gentoo-dev 2004-03-18 19:24:17 UTC
closing this bug since mozilla-firebird no longer exists in portage, and as far as we know, the problem hasn't been persistent.