I emerged the beta version of OO.org to try it out. It is marked ~amd64. Emerge went fine, however, it just doesn't load. Here is the output: $ /usr/bin/oowriter javaldx: Could not find a Java Runtime Environment! Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 72: _dl_next_tls_modid: Assertion `result <= _rtld_local._dl_tls_max_dtv_idx' failed! However, I do hava java installed (blackdown-jdk-1.4.2.01-r2). I'm not sure what's happening. Perhaps OOo can't find it? Reproducible: Always Steps to Reproduce: 1. unmask openoffice-bin beta 2. emerge openoffice-bin 3. /usr/bin/oowriter Portage 2.0.51.21-r1 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.11-gentoo-r3 x86_64) ================================================================= System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.5-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com http://open-systems.ufl.edu/mirrors/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.tds.net/gentoo ftp://ftp.heanet.ie/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://gentoo.ccccom.com http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://gentoo.ccccom.com http://linuv.uv.es/mirror/gentoo/ http://gentoo.mirror.icd.hu/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.osuosl.org/ http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://mirrors1.netvisao.pt/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://gentoo.seren.com/gentoo ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.blueyonder.co.uk ftp://gentoo.blueyonder.co.uk/mirrors/gentoo http://mirror.aiya.ru/pub/gentoo/" LANG="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 16bit X aac aalib acpi acpi4linux aim alsa apache2 avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzlib cdr crypt cups curl dga dvd eds esd exif fam font-server foomaticdb fortran ftp gd gdbm gif gnome gphoto2 gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib jabber java jp2 jpeg libwww lzw lzw-tiff mad maildir mikmod motif mozilla moznocompose moznoirc moznomail mp3 mpeg msn multilib ncurses nls nvidia offensive ogg oggvorbis opengl oss pam pam_console perl png postgres ppds readline sasl sdl ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xml xml2 xmms xpm xrandr xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
OOo is Sun-ware - what do you expect...
Reassigning
Best guess: you have 64-bit java, and openoffice-bin is 32-bit. You will need a 32-bit java, such as Sun's java.
Then there should be some modification in the ebuild, either taking out the ~amd64 keyword, or making sure a 32-bit java is installed as a dependency. Is there a way to install a 32-bit java using portage or must I install it by hand?
There's no way as by default amd64 jdks are used on amd64. Your best bet is to wait until groups like debian have completed their task of making things work with gcj.
I just modified blackdown-j* ebuilds in order to install the 32bits ones insted of 64bits and worked great. dev-java/sun-jdk are masked on amd64, and dev-java/sun-jre-bin install a 64bit version (I think it could be modified too, but I prefeer blackdown). The cool thing about having a java runtime enviroment in 32bits is to have *all* (realplayer, flash..) netscape plugins working with mozilla-firefox-bin. :-)
Solution: 1) Download the 32 bit linux java from sun (https://sdlcweb1a.sun.com/ECom/EComActionServlet/DownloadPage:~:com.sun.sunit.sdlc.content.DownloadPageInfo;jsessionid=2C6D75956756AB8BE55C097842655073;jsessionid=2C6D75956756AB8BE55C097842655073) 2) Install by running the .bin file. 3) Put in /opt as jre_blah_blah_32bit or whatever you want 4) start ooffice, tools -> options -> java and set it to the /opt/jre_blah_blah directory. Until we have an ebuild to build a 64bit version of this ooffice beast or an ebuild for a 64bit binary, then this is the only very quick fix. Someone mark this as closed/resolved.
Emmm, I can't see anything resolved/closed. :-\
resolve bug, changing resolution to fixed
Eggg., I mean, there are no solution for this bug. Maybe it could be an INVALID bug, but particularly here, I think that it should exist the possibility on MULTI_ABI systems to install 32bit JRE/JDK rather than just 64bits. The other one is, just wait for an *stable* openoffice-bin v.2 in 64bits. :-)
*** Bug 100395 has been marked as a duplicate of this bug. ***
Uhm, the duplicate bug with exactly the same error message reports, that running 'opengl-update xorg-x11' (!) fixes the problem and it breaks again after 'opengl-update nvidia'. Huh, go figure...
I got a similar problem, but WITHOUT the first line with "javaldx:...". This problem only arises with 1.9.118, but not with 1.9.109.
Please, can you put back the 1.9.109 ebuild into portage tree? I tried the 122 version now, but still without luck. However, the 109 ebuild is away and I cannot emerge that version anymore. Thanks.
If you're problem is a java error then all you need to do is get a 32 bit java from sun and point the openoffice to it. You can download 109 from openoffice's website.
If you need the version 1.9.109 extract it from a snapshot (e.g. http://distro.ibiblio.org/pub/linux/distributions/gentoo/snapshots/portage-20050803.tar.bz2) and copy it to your portage-overlay!
(In reply to comment #14) > Please, can you put back the 1.9.109 ebuild into portage tree? http://www.gentoo.org/cgi-bin/viewcvs.cgi/app-office/openoffice-bin/
*** Bug 101973 has been marked as a duplicate of this bug. ***
plan is this: when 2.0 is released, we'll provide a 64bit -bin for amd64, so one can run openoffice-bin on non-multilib systems too. till then, just use a stable version or a 32bit jre :)
reopening, since OOo-2 still doesn't build *sigh*
Created attachment 71309 [details] sun-jre-bin-1.5.0.05.ebuild Ebuild to install 32 bit sun JRE onto a 64 bit system
A quick question: As -java seems to work fine for AMD64, why not force it for this arch?
Added a new package, emul-linux-x86-java which installs a 32bit jre (blackdown) and corresponding nsplugin for use in 32bit browsers. Adjusted openoffice-bin to depend on this.