libjvm.so not found
Bug #1085226 reported by
Steve Fox
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pylucene (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Impact: pylucene is not importable and thus unusable
this is due to a wrong rpath of libjvm.so
Fix: a no change rebuild fixes the issue, this requires jcc 2.11-3ubuntu0.1 from -updats
TESTCASE:
python -c "import lucene"
should succeed and not give this error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
import os, _lucene
ImportError: libjvm.so: cannot open shared object file: No such file or directory
Regression potential:
low, no change rebuild current version unusable
Related branches
description: | updated |
Changed in pylucene (Ubuntu): | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Turns out this is actually not a bug in the pylucene package, but rather a result of upgrading from Lucid to Precise. The default- jre-headless package creates the /usr/lib/ jvm/java- 6-openjdk symlink upon a fresh install, but not during the distro upgrade.
Running aptitude reinstall default- jre-headless recreated the symlink and pylucene functions properly now.