Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275423 - www-client/opera fails to preload libjvm.so
Summary: www-client/opera fails to preload libjvm.so
Status: RESOLVED DUPLICATE of bug 269347
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 285919 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-25 19:01 UTC by Alexey Charkov
Modified: 2009-09-22 14:21 UTC (History)
2 users (show)

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 Alexey Charkov 2009-06-25 19:01:07 UTC
I am using www-client/opera-10.00_pre4402 and dev-java/sun-jdk-1.6.0.14. After configuring Java path in Opera settings to /usr/lib64/jvm/sun-jdk-1.6/jre/lib/amd64/ (which is a correct path on my system) and trying to load a Java applet, I get an error message in the console saying that libjvm.so can not be preloaded (and Java gets disabled).

The problem seems to stem from the fact that libjvm.so is located in system/ subdirectory on my system. Adding ${OPERA_JAVA_DIR}/server to LD_LIBRARY_PATH in the wrapper script makes it work as expected. Probably the /usr/bin/opera script should be updated.

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-java/sun-jdk-1.6.0.14 =www-client/opera-10.00_pre4402
2. echo /usr/lib64/jvm/sun-jdk-1.6/jre/lib/amd64/ > ~/.opera/javapath.txt
3. Attempt loading a Java applet in Opera

Actual Results:  
/bin/sh: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory

No applet displayed, Java gets disabled automatically.

Expected Results:  
Applet displayed correctly

Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1-alchark-u3s x86_64)
=================================================================                                                     
System uname: Linux-2.6.30-gentoo-r1-alchark-u3s-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1  
Timestamp of tree: Wed, 24 Jun 2009 22:45:02 +0000                                                                    
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                             
ccache version 2.4 [disabled]                                                                                         
app-shells/bash:     4.0_p24                                                                                          
dev-java/java-config: 2.1.8-r1                                                                                        
dev-lang/python:     2.6.2-r1                                                                                         
dev-util/ccache:     2.4-r8                                                                                           
dev-util/cmake:      2.6.4                                                                                            
sys-apps/baselayout: 2.0.1                                                                                            
sys-apps/openrc:     0.4.3-r3                                                                                         
sys-apps/sandbox:    2.0                                                                                              
sys-devel/autoconf:  2.13, 2.63-r1                                                                                    
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                           
sys-devel/binutils:  2.19.1-r1                                                                                        
sys-devel/gcc-config: 1.4.1                                                                                           
sys-devel/libtool:   2.2.6a                                                                                           
virtual/os-headers:  2.6.29                                                                                           
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                        
CBUILD="x86_64-pc-linux-gnu"                                                                                          
CFLAGS="-O2 -march=core2 -pipe"                                                                                       
CHOST="x86_64-pc-linux-gnu"                                                                                           
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"                                                               
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                          
CXXFLAGS="-O2 -march=core2 -pipe"                                                                                     
DISTDIR="/usr/portage/distfiles"                                                                                      
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                                                                
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org"                                 
LANG="ru_RU.UTF-8"                                                                                                    
LC_ALL="ru_RU.UTF-8"                                                                                                  
LDFLAGS="-Wl,-O1"                                                                                                     
LINGUAS="ru en"                                                                                                       
MAKEOPTS="-j4 -l6"                                                                                                    
PKGDIR="/usr/portage/packages"                                                                                        
PORTAGE_CONFIGROOT="/"                                                                                                
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/qting-edge /usr/portage/local/layman/kde-testing /usr/portage/local/layman/x11 /usr/portage/local/misc"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr amrnb amrwb archive avahi bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr cli consolekit cracklib crypt cups curl dbus dhcp djvu dri dts dvd dvdr dvdread emboss encode evo exif fam fbcon ffmpeg flac foomaticdb ftp gdbm gif gimp git gnutls gpm gs gstreamer hal iconv id3tag ieee1394 imagemagick imlib ipv6 ipw3945 isdnlog java javascript jingle jpeg kde kipi kqemu ladspa lame laptop latex lcms ldap libnotify lm_sensors lzo mad matroska midi mikmod mmx mmxext mng mp3 mp4 mpeg mudflap multilib musepack ncurses nls nptl nptlonly nsplugin ntp ogg openexr opengl openmp oscar pam pcre pdf perl plasma png ppds ppp pppd qt-copy qt3 qt3support qt4 quicktime rar readline reflection ru-dv samba sasl scanner sdl session smp spell spl sse sse2 ssl ssse3 startup-notification stream subversion svg symlink sysfs taglib tcpd tetex theora threads tiff truetype unicode usb v4l v4l2 vdpau vnc vorbis wifi wmf x264 xcomposite xine xml xorg xulrunner xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="hda-intel" 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" QEMU_USER_TARGETS="arm i386 mips mipsel x86_64" USERLAND="GNU" VIDEO_CARDS="intel nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexey Charkov 2009-06-25 19:03:18 UTC
Sorry for confusion: I should have typed "server/ subdirectory" instead of "system/ subdirectory" in comment #0.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-09-22 14:17:48 UTC
*** Bug 285919 has been marked as a duplicate of this bug. ***
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-09-22 14:21:28 UTC

*** This bug has been marked as a duplicate of bug 269347 ***