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

Precompiled binaries missing chrome dependencies [libnss3.so] #1189

Closed
4 tasks done
MuhammadBayiz opened this issue May 13, 2024 · 3 comments
Closed
4 tasks done

Precompiled binaries missing chrome dependencies [libnss3.so] #1189

MuhammadBayiz opened this issue May 13, 2024 · 3 comments
Labels
more information needed Further information is requested

Comments

@MuhammadBayiz
Copy link

Have you checked our README?

  • I have checked the README

Have you followed our Troubleshooting?

  • I have followed your Troubleshooting

Is there already an issue for your problem?

  • I have checked older issues, open and closed

Have you checked the discussions?

  • I have read the Discussions

Environment

- FlareSolverr version: 3.3.17
- Last working FlareSolverr version:/
- Operating system: Linux-6.1.6 gentoo
- Are you using Docker: [no]
- FlareSolverr User-Agent (see log traces or / endpoint):/
- Are you using a VPN: [no]
- Are you using a Proxy: [no]
- Are you using Captcha Solver: [no]
- If using captcha solver, which one:/
- URL to test this issue:/

Description

I'm executing the precompiled binaries with a non root user but I can't run flaresolverr because chrome has a missing dependency (libnss3.so), previously i was able to use flaresolverr in docker with no issue but now that I'm moving away from docker.

Logged Error Messages

~/flaresolverr $ ./flaresolverr
2024-05-13 07:39:33 INFO     FlareSolverr 3.3.17                  2024-05-13 07:39:33 INFO     Testing web browser installation...  2024-05-13 07:39:33 INFO     Platform: Linux-6.1.66-gentoo-***-x86_64-AMD_EPYC_7702P_64-Core_Processor-with-glibc2.38           2024-05-13 07:39:33 INFO     Chrome / Chromium path: /mnt/mpathad/hamashareef/flaresolverr/chrome/chrome                            /mnt/mpathad/hamashareef/flaresolverr/chrome/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory                                      2024-05-13 07:39:33 ERROR    Chrome / Chromium version not detected!

Screenshots

No response

@ilike2burnthing
Copy link
Contributor

ilike2burnthing commented May 13, 2024

Working fine here on Ubuntu 22.0.4.2, with libnss3.so already present as a system library file - https://app.any.run/tasks/851a36f6-dc7d-44a3-853c-7bef37b7d5c6

Looks like you need to install dev-libs/nss.

@ilike2burnthing ilike2burnthing added the more information needed Further information is requested label May 13, 2024
@ilike2burnthing
Copy link
Contributor

OP stated they weren't using Docker.

@MuhammadBayiz
Copy link
Author

The mentioned package seems to be missing in the system and as non-root user(as I'm on a seedbox) i can't install it without root privileges and compiling it myself requires third party software that are also missing so eventually I'm going back to using docker for the moment as it seems to be the only solution for me.

Sorry for replying late on the issue.

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

No branches or pull requests

2 participants