libjvmfwk.so.3: cannot open shared object file: No such file or directory

Bug #359645 reported by GiuseppeVerde
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: openoffice.org

When starting OOo today, I get the following error message:
$ ooimpress
/media/projects/lib-openoffice/program/soffice.bin: error while loading shared libraries: libjvmfwk.so.3: cannot open shared object file: No such file or directory

it's installed on the system, though:
$ locate libjvmfwk
/usr/lib/ure/lib/libjvmfwk.so.3

Adding the following line into a new file called /etc/ld.so.conf.d:
/usr/lib/ure/lib

and then running ldconfig solves the problem, and OOo impress starts again.

The only bit that's unusual in my situation is that /usr/share/openoffice and friends are on an sd card, since my eee only has 4GB of root fs storage.

Revision history for this message
Chris Cheney (ccheney) wrote :

Which version of Ubuntu and openoffice.org are you using?

Changed in openoffice.org (Ubuntu):
status: New → Incomplete
Revision history for this message
GiuseppeVerde (launchpad-digitasaru) wrote :

Ah crumbs. Sorry. dpkg -l openoffice.org
ii openoffice.org 1:3.0.1-9ubuntu2 full-featured office productivity suite

in Jaunty

Changed in openoffice.org (Ubuntu):
status: Incomplete → New
Revision history for this message
Chris Cheney (ccheney) wrote :

You mentioned /usr/share/openoffice, but it looks like you moved /usr/lib/openoffice instead... is that what you did? If so did you symlink it back the correct location properly? Because it looks like you did not from the output of the error message.

Changed in openoffice.org (Ubuntu):
status: New → Incomplete
Revision history for this message
Chris Cheney (ccheney) wrote :

soffice.bin has a RPATH to ure:

RPATH $ORIGIN:$ORIGIN/../basis-link/program:$ORIGIN/../basis-link/ure-link/lib

Which is probably why you are seeing this problem since you moved it from where it is supposed to be located.

Changed in openoffice.org (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Chris Cheney (ccheney) wrote :

Hint... in the future if you move things around that are important like parts of /usr you need to make sure all the symlinks in the part you moved point to the right locations.

../basis-link/ure-link points to ../../ure which is not where it is any more after you moved the usr/lib/openoffice directory. There may be other problems as well but I'll leave that up to you to find out as you broke it by moving the files from where they are supposed to be.

Revision history for this message
GiuseppeVerde (launchpad-digitasaru) wrote :

cool beans; sorry to have horked things and wasted your time. Thanks for the info, though!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.