error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory #15280
Comments
@kazantip151 its fixed in the latest version (2.1.3) |
I still having this same issue with binary for linux - latest version (2.1.3) - on CentOS Linux release 7.3.1611 (Core). I have installed all libs specified in http://phantomjs.org/build.html.. Do I need to open other issue with the same title? |
$ ./phantomjs |
@vanderzago No; one issue is enough.
|
I am using CentoOS 7 and libssl is not avaliable for this version: yum search libsslWarning: No matches found for: libssl Libssl was replacedy by openssl, since CentOS 6. I also applied yum update, but the issue persists. |
@vanderzago which repos do you have enabled? |
ls /etc/yum.repos.d/CentOS-Base.repo |
@vanderzago thanks, but its not what I asked. Look inside each repo definition and find string that starts with enabled= |
@pixiuPL thanks for your support. Here is the result of the command: # grep ^enabled= * This server was created via vagrant box for CentOS 7 in a VirtualBox vm in my desktop. |
I am having the same problem. The pre-made binary for 2.1.1 works fine on my Centos and Ubuntu systems but the 2.1.3 gets this error on Centos (but works fine on Ubuntu). This seems to be a regression break. |
I investigated the problem and its not PJS related issue. Many other packages have the very same issue. I think its something wrong with g/cc. Probably worth creating an issue on their tracker/whatever they have.... Please back to and on topic.... |
I suspect that 2.1.1 was statically linked and that 2.1.3 is dynamically linked. There are cross-distribution issues with dynamically linked binaries. The reason that I think this is that the 2.1.1 binary is about 100K larger than the 2.1.3 binary. I would much prefer that the pre-packaged binary be statically linked so it is distribution independent. While I understand this creates larger binaries, it's much better to be more platform independent. |
so, what i need to do that i`ll get it work on shared hosting? |
Try the older 2.1.1 pre-built binary and see if that works for you. For me that works on both Ubuntu and Centos. |
@kazantip151 exactly as @n0en siad. Try prebuilt 2.1.1 |
Thx, 2.1.1 works. |
Same issue here is Fedora. Version 2.1.3 will not run due to missing libraries (they are installled). |
@wilyarti its not related to PJS. Just google error message. Many programs have it. |
@pixiuPL hey mate. Could someone build a static binary then? I managed to find an old 2.1.1 static binary that worked fine. |
@wilyarti of course I can build static binary. But Im affraid the problem will not be gone. 2.1.1 works fine, because this error started to appear after 2.1.1 has been released. |
I would be happy to test a static binary if you can produce one. |
@n0en sure thing :) will take care of this tomorrow :) |
Anyone know where I can download a ready-to-use binary of PhantomJS 2.1.1 for 64-bit Linux? The download page (http://phantomjs.org/download.html) only shows one for 2.1.3 |
@n0en have been busy all day fighting with moody compiler who thinks its smarter than me :) Tomorrow fight will continue :) |
Hello! I faced the same problem with phantomjs 2.1.3 (binary) and resolved it. Solution (for docker container running on Debian):
|
Your solution will not work for Centos, however. |
Why do you think so? |
Is it possible to upload an 2.1.1 bin again? |
@moxx You mean upload where? to repo? |
@pixiuPL i have found a binary at https://bitbucket.org/ariya/phantomjs/downloads/ thanks |
I am referring to NadezhdaBaranova's fix. It will only work for debian derivatives since dpkg is specific to debian. Centos uses the yum package manager and a slightly different versioning scheme. |
I got it working under CentOS 7 using the older 2.1.1 binary. However, I needed to install some additional stuff to satisfy all the dependencies. So nice.
Finally! |
CentOS Linux release 7.9.2009 (Core) unable to solve |
Which version of PhantomJS are you using? Tip: run
phantomjs --version
.2.1
What steps will reproduce the problem?
I tried to use phantom on shared hosting and i get this error. It is a problem of hosting? Can be run phantom on shared hosting?
Which operating system are you using?
CentOS - linux
Did you use binary PhantomJS or did you compile it from source?
binary for linux
Please provide any additional information below.
The text was updated successfully, but these errors were encountered: