Selenium on ubuntu hardy 8.04
The upgrade to ubuntu hardy went very smooth but unfortunately, a few softwares were broken and among them selenium remote control, which was unable to launch firefox.
Here is a list of commands inspired from a chinese blog I used to fix it by running firefox 2:
Re-install firefox 2:
Selenum server firefox-bin, so let's visible in our PATH:apt-get install firefox-2
sudo ln -s /usr/lib/firefox/firefox-2-bin /usr/local/bin/firefox-bin
sudo ln -s /usr/lib/firefox/firefox-bin /usr/bin/Also, firefox-bin needs some shared library, and we need to tell the system where those libraries are by adding the following line to /etc/ld.so.conf
/usr/lib/firefox
Then running the following command to update the .conf setting:
$ sudo ldconfig
If we don't update ld's configuration, we will probably get the following error while running firefox-bin:
/usr/lib/firefox/firefox-bin: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory
No comments:
Post a Comment