Skip to main content
edited tags
Link
wag
  • 37k
  • 13
  • 68
  • 51
Source Link
Paul D. Waite
  • 3.7k
  • 5
  • 23
  • 21

How can I run Firefox on Linux headlessly (i.e. without requiring libgtk-x11-2.0.so.0)?

I’ve got Dreamhost shared hosting, and I’m trying to run Firefox 3.0 on it headlessly for use with Selenium.

When I try to run it (~/local/bin/firefox/firefox), I get the following error message:

error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory 

How can I run Firefox on Linux without requiring this shared object file?