← Back to team overview

openjdk team mailing list archive

[Bug 1027510] [NEW] /usr/lib/jvm VS /lib/jvm

 

Public bug reported:

Attached is an strace that shows /lib/jvm as the location used to find
libjli.so.

java: error while loading shared libraries: libjli.so: cannot open
shared object file: No such file or directory

# This fixed the issue.
arcadia:~# ln -s /usr/lib/jvm /lib

arcadia:~# dpkg -S /lib/jvm /usr/lib/jvm
dpkg-query: no path found matching pattern /lib/jvm.
openjdk-7-jre-lib, openjdk-7-jre, icedtea-7-jre-cacao, icedtea-7-jre-jamvm, openjdk-7-jre-headless, icedtea-netx: /usr/lib/jvm

/lib/jvm/java-7-openjdk-i386/jre/bin/../lib/i386/jli/libjli.so
/lib/jvm/java-7-openjdk-i386/jre/bin/../jre/lib/i386/jli/libjli.so

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: openjdk-7-jre 7~u3-2.1.1~pre1-1ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-23.31-lowlatency-pae 3.2.14
Uname: Linux 3.2.0-23-lowlatency-pae i686
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Sat Jul 21 17:29:43 2012
SourcePackage: openjdk-7
UpgradeStatus: Upgraded to precise on 2012-01-03 (200 days ago)

** Affects: openjdk-7 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 precise third-party-packages

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1027510

Title:
  /usr/lib/jvm VS /lib/jvm

Status in “openjdk-7” package in Ubuntu:
  New

Bug description:
  Attached is an strace that shows /lib/jvm as the location used to find
  libjli.so.

  java: error while loading shared libraries: libjli.so: cannot open
  shared object file: No such file or directory

  # This fixed the issue.
  arcadia:~# ln -s /usr/lib/jvm /lib

  arcadia:~# dpkg -S /lib/jvm /usr/lib/jvm
  dpkg-query: no path found matching pattern /lib/jvm.
  openjdk-7-jre-lib, openjdk-7-jre, icedtea-7-jre-cacao, icedtea-7-jre-jamvm, openjdk-7-jre-headless, icedtea-netx: /usr/lib/jvm

  /lib/jvm/java-7-openjdk-i386/jre/bin/../lib/i386/jli/libjli.so
  /lib/jvm/java-7-openjdk-i386/jre/bin/../jre/lib/i386/jli/libjli.so

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: openjdk-7-jre 7~u3-2.1.1~pre1-1ubuntu3
  ProcVersionSignature: Ubuntu 3.2.0-23.31-lowlatency-pae 3.2.14
  Uname: Linux 3.2.0-23-lowlatency-pae i686
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: i386
  Date: Sat Jul 21 17:29:43 2012
  SourcePackage: openjdk-7
  UpgradeStatus: Upgraded to precise on 2012-01-03 (200 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1027510/+subscriptions


Follow ups

References