Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

phantomjs has a secret dependency (documentation error) #10904

Closed
ariya opened this issue Dec 5, 2012 · 6 comments
Closed

phantomjs has a secret dependency (documentation error) #10904

ariya opened this issue Dec 5, 2012 · 6 comments

Comments

@ariya
Copy link
Owner

ariya commented Dec 5, 2012

jribb...@gmail.com commented:

Which version of PhantomJS are you using? Tip: run 'phantomjs --version'.
1.7.0

What steps will reproduce the problem?

  1. Install the phantomjs linux binary as per the instructions at http://phantomjs.org/download.html
  2. Try to run it
  3. Observe that it does not run

What is the expected output? What do you see instead?
bin/phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory

Which operating system are you using?
Ubuntu 12.04

Did you use binary PhantomJS or did you compile it from source?
Binary

Please provide any additional information below.
The install instructions say explicitly "There is no requirement to install Qt, WebKit, or any other libraries". This appears to be untrue - it depends on the 'fontconfig' package being installed.

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #904.
🌟   2 people had starred this issue at the time of migration.

@ariya
Copy link
Owner Author

ariya commented Dec 7, 2012

t...@tcz.hu commented:

True, confirmed!
CentOS 6.2 x86_64

@ariya
Copy link
Owner Author

ariya commented Dec 17, 2012

ariya.hi...@gmail.com commented:

Linux install: Mention basic rendering libs (FreeType, Fontconfig).
5beea348db

 
Metadata Updates

  • Label(s) added:
    • Component-Website
  • Status updated: Fixed

@ariya ariya closed this as completed Dec 17, 2012
@bhoomit
Copy link

bhoomit commented Jul 31, 2013

I'm having the same issue. Version 1.9.1, Downloaded from http://phantomjs.org/download.html

@ariya
Copy link
Owner Author

ariya commented Jul 31, 2013

@bhoomit Please be specific as to what your issue is. The dependency has been properly documented now.

@SimplGy
Copy link

SimplGy commented Aug 28, 2013

I had this problem, missing libfontconfig on my Team Cities linux environment. Worked fine locally but the automated Unit Testing was failing on this.

It is solved for my by running sudo apt-get install libfontconfig on that environment.
Thanks to this answer: http://stackoverflow.com/questions/13046555/wkhtmltopdf-libfontconfig-so-1-cannot-open-shared-object-file

davidtsuji added a commit to davidtsuji/countmein.io that referenced this issue Mar 26, 2014
phantomjs was not running. after investigation this was the problem (ariya/phantomjs#10904). I added the install step for the libfontconfig dependency in the deployment setup.
@say2joe
Copy link

say2joe commented Aug 11, 2014

First, thanks for the thread everyone. I too had this problem running on Phantom on my hosted environment. However, after install libfontconfig (sudo apt-get install libfontconfig) everything worked.

Repository owner locked and limited conversation to collaborators Aug 20, 2014
johnpapa added a commit to johnpapa/gulp-patterns that referenced this issue Sep 28, 2014
johnpapa added a commit to johnpapa/gulp-patterns that referenced this issue Sep 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants