Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libnss3.so: cannot open shared object file #6

Closed
cmpscabral opened this issue Jan 7, 2021 · 2 comments
Closed

libnss3.so: cannot open shared object file #6

cmpscabral opened this issue Jan 7, 2021 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@cmpscabral
Copy link

Hi,
I tried to use this on Ubuntu 20.04.1 LTS (server), but it fails.

Running with php fails silently with ProcessFailedException. I copied the command generated and executed it directly and I get this error:

vendor/beganovich/snappdf/versions/840819-Linux_x64/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

I then tried to install libnss3 with:

apt install libnss3-dev libgdk-pixbuf2.0-dev libgtk-3-dev libxss-dev

but this installs 202 new packages (600MB total) - is this really required?

Thanks!

@beganovich
Copy link
Owner

beganovich commented Jan 7, 2021

Hey there,

I didn't document this (yet) but some dependencies may be required. It's not much I can do there, unfortunately.

Here's a list of them:
https://github.com/beganovich/snappdf#headless-chrome-doesnt-launch-on-unix

@beganovich beganovich pinned this issue Jan 7, 2021
@beganovich beganovich self-assigned this Jan 7, 2021
@beganovich beganovich added the question Further information is requested label Jan 7, 2021
@cmpscabral
Copy link
Author

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants