Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 76388

Summary: Acrobat 5 / acroread fails to run on an AMD64 platform (Fatal System Error: Raise at top of Exception Stack)
Product: Gentoo Linux Reporter: Bjoern Koester <gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bjoern Koester 2005-01-02 03:02:23 UTC
After successfully emerging acroread, it fails running:

# /opt/Acrobat5/acroread
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Fatal System Error: Raise at top of Exception Stack

Reproducible: Always
Steps to Reproduce:
1. emerge acroread
2. run acroread (/opt/Acrobat5/acroread)
3. see the error

Actual Results:  
# /opt/Acrobat5/acroread
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Fatal System Error: Raise at top of Exception Stack

Expected Results:  
Acroread should have come up running just fine.

# emerge info
Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 23 2004, 09:09:13)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.3, 1.6.3, 1.7.9, 1.4_p6, 1.8.5-r2
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=x86-64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://gentoo.inode.at/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo
ft://gentoo.inode.at/source/
ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo"
LDFLAGS=""
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 X X11 X3dnow Xaw3d Xft aalib acpi alsa arts audiofile avi
bash-completion berkdb bitmap-fonts bonobo cdr crypt ctype cups dga directfb
divx4linux dvd esd f77 fam fbcon ffmpeg firefox flac flash foomaticdb fortran
freetype ftp gdbm ggi gif gphoto2 gpm gtk gtk2 gtkhtml guile imagemagick imlib
ipv6 java jp2 jpeg junit kde libwww live lzw lzw-tiff mad mbox mime ming motif
multilib nas ncurses network nls oggvorbis opengl oss pam pcre pdflib perl png
posix python qt quicktime radeon readline rtc samba scanner sdl sockets ssl tcpd
tetex tiff truetype truetype-fonts type1-fonts usb userlocales wmf x11 xfs xft
xml xml2 xmms xpm xrandr xv zlib video_cards_radeon video_cards_ge128
video_cards_nvidia linguas_de"
Comment 1 Bjoern Koester 2005-01-02 09:51:56 UTC
Found a solution thanks to Evgeny Stambulchik:

Due to an inconsistency bug in XORG (it had worked before upgrading the X11-XORG environment) there were two symlinks missing:

# cd /usr/X11R6/lib32/X11/locale/
# ln -s /usr/lib/X11/locale/locale.alias .
# ln -s /usr/lib/X11/locale/locale.dir .

Problem works for me.
Comment 2 Roland Bär 2005-01-10 07:45:27 UTC
Didn't work for me
open("/usr/X11R6/lib32/X11/locale/common/xlcDef.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
Additonally to Bjoerns symlinking required
ln -s /emul/linux/x86/usr/X11R6/lib/X11/locale/lib/common/ .
Sorry, was the only directory with a 32-bit xlcDef.so.2 on my machine