Using eclipse-3.4 + swt-3.4-r2 (r1 ist not working because it does not build libswt-xulruner.so) results in this error: /opt/sun-jdk-1.6.0.07/bin/java: symbol lookup error: /usr/lib/libswt-xulrunner-gtk-3448.so: undefined symbol: XPCOMGlueStartup Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r1 i686) ================================================================= System uname: 2.6.26-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.60GHz Timestamp of tree: Sat, 04 Oct 2008 21:04:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r14, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O1 -mtune=i686 -pipe -mno-tls-direct-seg-refs -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O1 -mtune=i686 -pipe -mno-tls-direct-seg-refs -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/gentoo-de /usr/local/portage/default /usr/local/portage/layman/perl-experimental /usr/local/portage/layman/lila-theme" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acl acpi alsa arts asyncns avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cscope cups dbus dga directfb dri dvd dvdr dvdread eds emboss encode esd evo fam fbcon firefox flac fortran gdbm ggi gif gnome gpm gstreamer gtk gtkhtml hal iconv idn ipv6 isdnlog jack java java6 jikes jpeg jpeg2k kde kerberos kolab laptop latex lcms ldap libnotify mad midi mikmod mmx modperl mouse mp3 mpeg mudflap musepack mysql nas ncurses nls nptl nptlonly odbc ogg opengl openmp oss pam pch pcre pcsc-lite pdf perl pg-intdatetime pkcs11 png postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session slang smartcard snmp speex spell spl sse sse2 ssl startup-notification svg svga sysfs tcltk tcpd tiff truetype unicode usb v4l vim-syntax vorbis win32codecs x86 xinerama xml xorg xprint xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias asis auth_digest authn_dbd cern_meta charset_lite dbd dumpio ident imagemap log_forensic proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http version" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="pctv" USERLAND="GNU" VIDEO_CARDS="radeon v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Another instance of bug 214785?
No. But i found the fault. Running eclipse-3.4 with JRE 5 does fail with this failure. It seems JRE 6 is needed (and works). There exists a fix for this JRE 5 bug in the java overlay for eclipse-3.4.1, however i can't test this release because it uses EAPI-2 and i wont upgrade to portage-2.2rc11. This JRE5 fix should be included in the ganymede build.
Having same problem with net-libs/xulrunner-1.9.0.3 In /usr/lib/pkgconfig/libxul.pc there is only -lxpcomglue_s, and XPCOMGlueStartup is defined in -lxpcomglue. Adding -lxpcomglue in libxul.pc and rebuilding swt fixed the problem
Reassigning to Mozilla. Thanks for debugging the issue.
(In reply to comment #3) > Adding -lxpcomglue in libxul.pc and rebuilding swt fixed the problem Would you be, please, more elaborate - what do you mean saying about fixing? I have tried (~amb64), but have got JVM crash in libxul.so+0x936dce.
(In reply to comment #5) > (In reply to comment #3) > > Adding -lxpcomglue in libxul.pc and rebuilding swt fixed the problem > > Would you be, please, more elaborate - what do you mean saying about fixing? I > have tried (~amb64), but have got JVM crash in libxul.so+0x936dce. > In file /usr/lib/pkgconfig/libxul.pc change line starting with "Libs:" to: Libs: -L${sdkdir}/lib -lxpcomglue_s -lxul -lxpcom Symbol XPCOMGlueStartup is defined in libxpcomglue_s and changing this line tells users of libxul to also link to libxpcomglue_s I am running 32bit machine
(In reply to comment #6) > In file /usr/lib/pkgconfig/libxul.pc change line starting with "Libs:" to: > Libs: -L${sdkdir}/lib -lxpcomglue_s -lxul -lxpcom > Symbol XPCOMGlueStartup is defined in libxpcomglue_s and changing this line > tells users of libxul to also link to libxpcomglue_s > I am running 32bit machine In accordance with #3 I have replaced Libs: -L${sdkdir}/lib -lxpcomglue_s -lxul -lxpcom with Libs: -L${sdkdir}/lib -lxpcomglue_s -lxul -lxpcom -lxpcomglue But #6 tells something else rather #3 - where is a truth? :-)
*** Bug 258050 has been marked as a duplicate of this bug. ***
Are there any news about solving the bug ? Is anybody working on it ? Is there something I can do to help ?
I run into same problem with Eclipse-3.4.1 from java-oeverlay. After installing JBoss Tools plugin from update site: http://download.jboss.org/jbosstools/updates/stable/ I got eclipse crash with following info: /opt/sun-jdk-1.6.0.12/bin/java: symbol lookup error: /usr/lib/libswt-xulrunner-gtk-3448.so: undefined symbol: XPCOMGlueStartup. I reemarged swt (I was trying the one from portage tree swt-3.4-r2 and also the one from java-overlay swt-3.4.1) no change. When I emerged swt w/o xulrunner flag the eclipse did start but help system did not work. I was almost sure this is swt problem but eclipse-3.4-r2 from portage tree is working fine with those plugins.
So, Fedora has two patches to get swt working: http://cvs.fedoraproject.org/viewvc/devel/eclipse/eclipse-swt-buildagainstxulrunner.patch?revision=1.2&view=markup http://cvs.fedoraproject.org/viewvc/devel/eclipse/eclipse-swt-xulrunner191.patch?view=markup Of course there might be more patches required (or less)
(In reply to comment #9) > Are there any news about solving the bug ? Is anybody working on it ? Is there > something I can do to help ? > This should actually already be fixed in xulrunner-1.9.1, if it is not you will have to read the configure.{in,ac} to see what pkgconfig files are being checked.
Alrighty, so gentoobugsie tells me that those patches don't work with 3.4, and no distro seems to be patching eclipse 3.4 -- they're all patching 3.5. So, the only solution is: (Now) Make 3.4 depend on xulrunner? ( =net-libs/xulrunner-1.9.0* ) (Later) Add 3.5 with patches to work with >=net-libs/xulrunner-1.9.1
swt-3.4-r4 should fix the missing symbol. Also adds the patch from comment 11 for xulrunner-1.9.1 compatibility. eclipse-3.4 works here with that. Note that 3.4.1 in overlay is not picking up system swt and I will move it to java-experimental.