Last active
March 30, 2025 19:47
-
Star
(162)
You must be signed in to star a gist -
Fork
(37)
You must be signed in to fork a gist
-
-
Save telbiyski/ec56a92d7114b8631c906c18064ce620 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install build-essential chrpath libssl-dev libxft-dev -y | |
sudo apt-get install libfreetype6 libfreetype6-dev -y | |
sudo apt-get install libfontconfig1 libfontconfig1-dev -y | |
cd ~ | |
export PHANTOM_JS="phantomjs-2.1.1-linux-x86_64" | |
wget https://github.com/Medium/phantomjs/releases/download/v2.1.1/$PHANTOM_JS.tar.bz2 | |
sudo tar xvjf $PHANTOM_JS.tar.bz2 | |
sudo mv $PHANTOM_JS /usr/local/share | |
sudo ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin | |
phantomjs --version |
Thanks
Hi,
For me I get an error in the last command:
$ phantomjs --version
Auto configuration failed
140090869620352:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: cannot open shared object file: No such file or directory
140090869620352:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
140090869620352:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf
140090869620352:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_conf
Would someone know the reason of this problem?
Hi,
For me I get an error in the last command:
$ phantomjs --version Auto configuration failed 140090869620352:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: cannot open shared object file: No such file or directory 140090869620352:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244: 140090869620352:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf 140090869620352:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_confWould someone know the reason of this problem?
Same issue for me
Solved by running
export OPENSSL_CONF=/etc/ssl/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!