When I'm running in docker
But I did install gtk3
and i find it in /usr/lib/
why锛燂紵
Cypress failed to start.
This is usually caused by a missing library or dependency.
The error below should indicate which dependency is missing.
https://on.cypress.io/required-dependencies
If you are using Docker, we provide containers with all required dependencies installed.
/home/tutor/.cache/Cypress/3.3.2/Cypress/Cypress: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory
Platform: linux (Centos - 7.1.1503)
Cypress Version: 3.3.2
I fixed that running:
$ sudo apt install libgtk-3-0
Closing as resolved. Please comment if you are still having this issue and we will consider reopening.
Hi, where can I find documentation on this requirement?
The official docs on Continuous Integration only declare libgtk2.0-0
.
Also, I see the docker image base:10 only asks for GTK2, but base:10.2.1 (and up) declares GTK3.
There is a PR in the docs to fix this here https://github.com/cypress-io/cypress-documentation/pull/1912
@jennifer-shehane this is an issue for me on AWS Linux 2 running jenkins (and not through docker)
sudo yum install libgtk-3-0
does not exist
did some googling and
gtk3-3.22.26-4.amzn2.i686
installs libgtk-3.so.0
but the error pesists
@alastair-todd had the same issue. yum install gtk3
solved it for me (compared to yum install gtk3-3.22.26-4
, which did not resolve it)
@alastair-todd had the same issue.
yum install gtk3
solved it for me (compared toyum install gtk3-3.22.26-4
, which did not resolve it)
Thank you bro, your command works for me
@alastair-todd had the same issue.
yum install gtk3
solved it for me (compared toyum install gtk3-3.22.26-4
, which did not resolve it)
Its work, thanks
yum install gtk3
gives No package gtk3 available.
. On Platform: linux (Amazon Linux - 2018.03)
Most helpful comment
I fixed that running: