Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259579 - dev-util/eclipse-sdk-3.2.1-r3 - /usr/lib/jvm/sun-jdk-1.6/bin/java: symbol lookup error: /usr/lib/eclipse-3.2/configuration/org.eclipse.osgi/bundles/8/1/.cp/libswt-mozilla-gtk-3235.so: undefined symbol: _ZN4nsID5ParseEPKc
Summary: dev-util/eclipse-sdk-3.2.1-r3 - /usr/lib/jvm/sun-jdk-1.6/bin/java: symbol loo...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-19 11:05 UTC by Kazankov Alexander
Modified: 2009-11-06 15:16 UTC (History)
4 users (show)

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


Attachments
Emerge --info --verbose (emerge_verbose.txt,8.99 KB, text/plain)
2009-02-19 11:08 UTC, Kazankov Alexander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kazankov Alexander 2009-02-19 11:05:18 UTC
On startup eclipse him crash with:

/usr/lib/jvm/sun-jdk-1.6/bin/java: symbol lookup error:
/usr/lib/eclipse-3.2/configuration/org.eclipse.osgi/bundles/8/1/.cp/libswt-mozilla-gtk-3235.so:
undefined symbol: _ZN4nsID5ParseEPKc

Reproducible: Always

Steps to Reproduce:
1. just run eclipse-3.2

Actual Results:  
Crash.

Expected Results:  
Open IDE-environmenet.

Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.27-gentoo-r8-jx1 i686)
=================================================================
System uname:
Linux-2.6.27-gentoo-r8-jx1-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-glibc2.0
Timestamp of tree: Mon, 02 Feb 2009 01:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
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.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo
/etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -mtune=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa berkdb bzip2 cairo cli cracklib crypt cups dbus dia
dri dvd evolution gdbm gif glib gnome gpm gtk iconv imlib isdnlog java jpeg
lcms ldap live midi mmx mmxext mng mudflap nautilus ncurses nls nptl nptlonly
nsplugin opengl openmp pam pcre perl pkcs11 png postscript pppd python qt
readline reflection samba server session spell spl sqlite sse sse2 ssl
sylpheed sysfs tcpd theora threads tiff truetype unicode userlocales vdr
vim-syntax webdav win32codecs wxwindows x264 x86 xorg xpm xvid 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="fbdev glint
i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga
via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY
Comment 1 Kazankov Alexander 2009-02-19 11:08:51 UTC
Created attachment 182537 [details]
Emerge --info --verbose
Comment 2 ash 2009-03-01 18:57:20 UTC
I am also getting this error. So far I have tried cleaning off blackdown and installing Sun's JDK 1.4, but that didn't help.
Comment 3 Palmax Maverick 2009-03-07 09:54:21 UTC
I have the same problem
Comment 4 Kobboi 2009-03-24 21:04:43 UTC
Me too :(
Comment 5 Kobboi 2009-03-31 11:27:29 UTC
Are there people that are able to start eclipse-3.2.1* ?
Comment 6 Artem Semendyaev 2009-04-03 14:28:40 UTC
yes, you just need to set MOZILLA_FIVE_HOME environment variable.
I don't know why, but even simple `MOZILLA_FIVE_HOME="" eclipse-3.2` works for me
Comment 7 Tom Gillespie 2009-04-03 16:05:34 UTC
FIX: as the user you want to run eclipse as type "export MOZILLA_FIVE_HOME=/usr/lib/mozilla" eclipse will then run happily

Comment 8 Tom Gillespie 2009-04-03 18:31:31 UTC
(In reply to comment #7)
> FIX: as the user you want to run eclipse as type "export
> MOZILLA_FIVE_HOME=/usr/lib/mozilla" eclipse will then run happily
>

very strange, this only works as long as eclipse is launched from the terminal in which this command is typed

a fix that works for terminals is to add the line " export MOZILLA_FIVE_HOME='/usr/lib/mozilla' " to your 00basic file in /etc/env.d

this also seems to fix lauching from the panel, if it does not initially then create a new launcher and it seems to fix the problem
Comment 9 Jeremy Ebler 2009-04-05 00:25:26 UTC
(In reply to comment #8)
> a fix that works for terminals is to add the line " export
> MOZILLA_FIVE_HOME='/usr/lib/mozilla' " to your 00basic file in /etc/env.d

My thought was to export MOZILLA_FIVE_HOME="/usr/lib/mozilla" in the wrapper script eclipse-3.2.

/usr/bin/eclipse-3.2 : 
...
 if [[ -d /usr/lib/gecko-sdk/lib/ ]] && [[ -f /usr/lib/gecko-sdk/lib/libgtkembedmoz.so ]] ; then
     export MOZILLA_FIVE_HOME="/usr/lib/gecko-sdk/lib/"
+else 
+    export MOZILLA_FIVE_HOME="/usr/lib/mozilla"
 fi
...


I'm not sure if this is any better (or worse) than getting it exported in /etc/env.d/

Do other programs benefit from MOZILLA_FIVE_HOME being exported, or is it just eclipse?
Comment 10 Oliver Warzecha 2009-04-11 17:16:55 UTC
(In reply to comment #9)

> Do other programs benefit from MOZILLA_FIVE_HOME being exported, or is it just
> eclipse?
> 

sancho-bin has the same problem, like described in bug 264527. Export does well in this case too.
Comment 11 idiotbg 2009-08-01 13:13:27 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > a fix that works for terminals is to add the line " export
> > MOZILLA_FIVE_HOME='/usr/lib/mozilla' " to your 00basic file in /etc/env.d
> 
> My thought was to export MOZILLA_FIVE_HOME="/usr/lib/mozilla" in the wrapper
> script eclipse-3.2.
> 
> /usr/bin/eclipse-3.2 : 
> ...
>  if [[ -d /usr/lib/gecko-sdk/lib/ ]] && [[ -f
> /usr/lib/gecko-sdk/lib/libgtkembedmoz.so ]] ; then
>      export MOZILLA_FIVE_HOME="/usr/lib/gecko-sdk/lib/"
> +else 
> +    export MOZILLA_FIVE_HOME="/usr/lib/mozilla"
>  fi
> ...
> 
> 
> I'm not sure if this is any better (or worse) than getting it exported in
> /etc/env.d/
> 
> Do other programs benefit from MOZILLA_FIVE_HOME being exported, or is it just
> eclipse?
> 

In my case it didn't work, for me the fix is:

space@t61 ~ $ locate libgtkembedmoz.so
/opt/xulrunner/libgtkembedmoz.so.1
/opt/xulrunner/libgtkembedmoz.so
/usr/lib64/mozilla-thunderbird/libgtkembedmoz.so
/usr/lib64/xulrunner/libgtkembedmoz.so.1
/usr/lib64/xulrunner/libgtkembedmoz.so

I just took the last directory and eclipse happily starts with:

export MOZILLA_FIVE_HOME=/usr/lib64/xulrunner

note that my /usr/lib/mozilla has no files.
Comment 12 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2009-11-06 15:16:44 UTC
3.2 not supported anymore.