[Robert Crowther schreef op 26-08-2004 20:43 +0100]
On Thu, 26 Aug 2004 21:23:42 +0200, Joolz <joolz@xxxxxxxxx> wrote:
Hi everyone,
I just removed mozilla-firefox and installed mozilla 1.7.2 from official FC2 rpms. However, when I run /usr/lib/mozilla-1.7.2/mozilla-bin I get this error: /usr/lib/mozilla-1.7.2/mozilla-bin: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory
Try just running 'mozilla', or even '/usr/bin/mozilla' if you haven't got the default paths set up.
I found it, this was a weird one. I rpm -e 'd the firefox rpm, made a backup of my bookmarks file and did rm -rf ~/.mozilla. So far so good.
Then I did sudo apt-get install mozilla, and that managed to create ~/.mozilla owned by root:root. With these faulty right settings mozilla won't start and give the erronious errormessage I mentioned above. After chown me:me ~/.mozilla everything was OK.
I'm not sure why this happened, maybe apt-getting with sudo?
Usually happens when you 'su' to root instead of 'su -'. In the former case your $HOME env var does not change and still points to your normal user.
-- Redmond, we have a problem.