Help Dialogs and Epiphany do not work

Asked by fatsheep

My problem is that epiphany doesn't load and none of the help dialogs work, this includes the "About Ubuntu" and "System Documentation" links. Here's the output of "yelp ghelp:about-ubuntu":

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

I've searched the repositories for the libgtkembedmoz.so package without any luck so I'm not sure what the problem could be. I get the same error when I try to start epiphany:

fatsheep@fatsheep:~$ epiphany
epiphany: error while loading shared libraries: libgtkembedmoz.so: cannot open shared object file: No such file or directory

Perhaps this is a problem with gecko? But if so then why does firefox work?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Alexandre Vassalotti
Solved:
Last query:
Last reply:
Revision history for this message
Alexandre Vassalotti (avassalotti) said :
#1

Well, it works on Edgy.

Try reinstalling Firefox (which contain libgtkembedmoz.so) with:
  sudo aptitude reinstall firefox

Also, could you paste the output of:
  ls -l /usr/lib/firefox/libgtkembedmoz.so

If you see something like:
-rw-r--r-- 1 root root 82104 2006-08-18 13:42 /usr/lib/firefox/libgtkembedmoz.so

Try this command:
  export LD_LIBRARY_PATH="/usr/lib/firefox/"

I hope it helps.

Revision history for this message
fatsheep (jesse-fatsheep-deactivatedaccount) said :
#2

I'm using the firefox32 browser (as plugins are not compatible with the 64-bit version). It's located in /usr/local/firefox32 and uses the command "firefox32" to start. I installed it using this How To:

http://www.ubuntuforums.org/showthread.php?t=202537

That changes things a bit, perhaps it is even the cause of the problem?

Revision history for this message
Alexandre Vassalotti (avassalotti) said :
#3

I think /usr/local comes before /usr in the load path. So, it possible that Yelp, and Epiphany are trying to load the 32bit version of the library. Thus. causing the error.

I suggest that you try to install the 32bit version under /opt directory.

Here a guide for doing so:
http://help.ubuntu.com/community/FirefoxNewVersion

Revision history for this message
fatsheep (jesse-fatsheep-deactivatedaccount) said :
#4

Thanks, that helped a lot. I had uninstalled the default firefox so now I am trying to install it again and I get this error in synaptic:

The following problems were found on your system:
E: /var/cache/apt/archives/firefox_1.5.dfsg+1.5.0.7-ubuntu0.6.06_amd64.deb: unable to create `./usr/lib/firefox/libgfxpsshar.so'

So firefox refuses to reinstall. :S

Revision history for this message
Alexandre Vassalotti (avassalotti) said :
#5

Is there a file at /usr/lib/firefox/libgfxpsshar.so? If so, that means you will need to remove it manually.

Did you installed Firefox 64bit under /usr, or did symlinks?

Revision history for this message
fatsheep (jesse-fatsheep-deactivatedaccount) said :
#6

No there was no file located at /usr/lib/firefox/libgfxpsshar. Firefox 64-bit was under /usr/lib/firefox. However this problem is now solved. All I had to do was reinstall the j2re1.4 and then install firefox. Yelp and Epiphany work fine now.