Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

heroku/rails/chrome/selenium: error while loading shared libraries: libxshmfence.so.1

Running Capybara using Selenium and Chrome on RoR on Heroku. It all worked well until yesterday when I updated to Chrome v88.

I am getting the following error:

/app/.apt/opt/google/chrome/chrome: error while loading shared libraries: libxshmfence.so.1: cannot open shared object file: No such file or directory

Heroku stack 20. Haven't been able to find anyone with a similar issue so far.

How to figure out if it's a chrome issue? a chromedriver issue? a heroku issue? any help is greatly appreciated

like image 864
wachichornia Avatar asked Oct 18 '25 12:10

wachichornia


1 Answers

from the chrome buildpack page:

https://github.com/heroku/heroku-buildpack-google-chrome/issues/105

1 Add the buildpack:

"https://github.com/heroku/heroku-buildpack-apt"

2 Add a file called Aptfile at the root of your app

3 paste libxshmfence-dev in the file

like image 105
wachichornia Avatar answered Oct 20 '25 01:10

wachichornia



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!