Flaresolverr script creates lxc with flaresolverr giving error: [PYI-3667:ERROR] Failed to load Python shared library #1537

Closed
opened 2026-02-05 01:29:33 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @Brandsma on GitHub (Aug 26, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Flaresolverr

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/flaresolverr.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

After fully installing the Flaresolverr LXC using the provided script, the flaresolverr service does not start due to the following error:

[PYI-3667:ERROR] Failed to load Python shared library '/opt/flaresolverr/_internal/libpython3.13.so.1.0': /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.38' not found (required by /opt/flaresolverr/_internal/libpython3.13.so.1.0)`

It seems to be looking for Python 3.13 libraries, though the installed Python version is 3.11.2. My ldd version is 2.36.

🔄 Steps to reproduce the issue.

  1. Use the provided bash command to install the flaresolverr lxc
  2. try to run the flaresolverr service (directly with ./opt/flaresolverr/flaresolver or using systemctl daemon)

Paste the full error output (if available).

Aug 26 17:05:34 flaresolverr systemd[1]: Started flaresolverr.service - FlareSolverr. Aug 26 17:05:34 flaresolverr flaresolverr[13822]: [PYI-13822:ERROR] Failed to load Python shared library '/opt/flaresolverr/_internal/libpython3.13.so.1.0': /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.38' not found (required by /opt/flaresolverr/_internal/libpython3.13.so.1.0)
Aug 26 17:05:34 flaresolverr systemd[1]: flaresolverr.service: Main process exited, code=exited, status=255/EXCEPTION
Aug 26 17:05:34 flaresolverr systemd[1]: flaresolverr.service: Failed with result 'exit-code'.
Aug 26 17:05:39 flaresolverr systemd[1]: flaresolverr.service: Scheduled restart job, restart counter is at 1.
Aug 26 17:05:39 flaresolverr systemd[1]: Stopped flaresolverr.service - FlareSolverr.
Aug 26 17:05:39 flaresolverr systemd[1]: Started flaresolverr.service - FlareSolverr.
Aug 26 17:05:39 flaresolverr flaresolverr[13893]: [PYI-13893:ERROR] Failed to load Python shared library '/opt/flaresolverr/_internal/libpython3.13.so.1.0': /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.38' not found (required by /opt/flaresolverr/_internal/libpython3.13.so.1.0) Aug 26 17:05:39 flaresolverr systemd[1]: flaresolverr.service: Main process exited, code=exited, status=255/EXCEPTION Aug 26 17:05:39 flaresolverr systemd[1]: flaresolverr.service: Failed with result 'exit-code'. Aug 26 17:05:44 flaresolverr systemd[1]: flaresolverr.service: Scheduled restart job, restart counter is at 2. Aug 26 17:05:44 flaresolverr systemd[1]: Stopped flaresolverr.service - FlareSolverr. Aug 26 17:05:44 flaresolverr systemd[1]: Started flaresolverr.service - FlareSolverr. Aug 26 17:05:44 flaresolverr flaresolverr[13894]: [PYI-13894:ERROR] Failed to load Python shared library '/opt/flaresolverr/_internal/libpython3.13.so.1.0': /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.38' not found (required by /opt/flaresolverr/_internal/libpython3.13.so.1.0)
Aug 26 17:05:44 flaresolverr systemd[1]: flaresolverr.service: Main process exited, code=exited, status=255/EXCEPTION
Aug 26 17:05:44 flaresolverr systemd[1]: flaresolverr.service: Failed with result 'exit-code'.
Aug 26 17:05:49 flaresolverr systemd[1]: flaresolverr.service: Scheduled restart job, restart counter is at 3.
Aug 26 17:05:49 flaresolverr systemd[1]: Stopped flaresolverr.service - FlareSolverr.`

🖼️ Additional context (optional).

Installing libpython3.11-dev did not help

Originally created by @Brandsma on GitHub (Aug 26, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Flaresolverr ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/flaresolverr.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. After fully installing the Flaresolverr LXC using the provided script, the flaresolverr service does not start due to the following error: `[PYI-3667:ERROR] Failed to load Python shared library '/opt/flaresolverr/_internal/libpython3.13.so.1.0': /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /opt/flaresolverr/_internal/libpython3.13.so.1.0)` It seems to be looking for Python 3.13 libraries, though the installed Python version is 3.11.2. My ldd version is 2.36. ### 🔄 Steps to reproduce the issue. 1. Use the provided bash command to install the flaresolverr lxc 2. try to run the flaresolverr service (directly with ./opt/flaresolverr/flaresolver or using systemctl daemon) ### ❌ Paste the full error output (if available). `Aug 26 17:05:34 flaresolverr systemd[1]: Started flaresolverr.service - FlareSolverr. Aug 26 17:05:34 flaresolverr flaresolverr[13822]: [PYI-13822:ERROR] Failed to load Python shared library '/opt/flaresolverr/_internal/libpython3.13.so.1.0': /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /opt/flaresolverr/_internal/libpython3.13.so.1.0) Aug 26 17:05:34 flaresolverr systemd[1]: flaresolverr.service: Main process exited, code=exited, status=255/EXCEPTION Aug 26 17:05:34 flaresolverr systemd[1]: flaresolverr.service: Failed with result 'exit-code'. Aug 26 17:05:39 flaresolverr systemd[1]: flaresolverr.service: Scheduled restart job, restart counter is at 1. Aug 26 17:05:39 flaresolverr systemd[1]: Stopped flaresolverr.service - FlareSolverr. Aug 26 17:05:39 flaresolverr systemd[1]: Started flaresolverr.service - FlareSolverr. Aug 26 17:05:39 flaresolverr flaresolverr[13893]: [PYI-13893:ERROR] Failed to load Python shared library '/opt/flaresolverr/_internal/libpython3.13.so.1.0': /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /opt/flaresolverr/_internal/libpython3.13.so.1.0) Aug 26 17:05:39 flaresolverr systemd[1]: flaresolverr.service: Main process exited, code=exited, status=255/EXCEPTION Aug 26 17:05:39 flaresolverr systemd[1]: flaresolverr.service: Failed with result 'exit-code'. Aug 26 17:05:44 flaresolverr systemd[1]: flaresolverr.service: Scheduled restart job, restart counter is at 2. Aug 26 17:05:44 flaresolverr systemd[1]: Stopped flaresolverr.service - FlareSolverr. Aug 26 17:05:44 flaresolverr systemd[1]: Started flaresolverr.service - FlareSolverr. Aug 26 17:05:44 flaresolverr flaresolverr[13894]: [PYI-13894:ERROR] Failed to load Python shared library '/opt/flaresolverr/_internal/libpython3.13.so.1.0': /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /opt/flaresolverr/_internal/libpython3.13.so.1.0) Aug 26 17:05:44 flaresolverr systemd[1]: flaresolverr.service: Main process exited, code=exited, status=255/EXCEPTION Aug 26 17:05:44 flaresolverr systemd[1]: flaresolverr.service: Failed with result 'exit-code'. Aug 26 17:05:49 flaresolverr systemd[1]: flaresolverr.service: Scheduled restart job, restart counter is at 3. Aug 26 17:05:49 flaresolverr systemd[1]: Stopped flaresolverr.service - FlareSolverr.` ### 🖼️ Additional context (optional). Installing libpython3.11-dev did not help
OVERLORD added the external label 2026-02-05 01:29:33 +03:00
Author
Owner

@MickLesk commented on GitHub (Aug 26, 2025):

Seems Like there prebuild file is build with an newer system then Debian 12, so Its have another glib.

Please Report in there repo and ask why. (all downward compatibility is broken)

@MickLesk commented on GitHub (Aug 26, 2025): Seems Like there prebuild file is build with an newer system then Debian 12, so Its have another glib. Please Report in there repo and ask why. (all downward compatibility is broken)
Author
Owner

@applechief commented on GitHub (Aug 28, 2025):

The latest Flaresolverr (v3.4.0) requires python 3.13 while the debian12 template is on python 3.11

@applechief commented on GitHub (Aug 28, 2025): The latest Flaresolverr (v3.4.0) requires python 3.13 while the debian12 template is on python 3.11
Author
Owner

@MickLesk commented on GitHub (Aug 28, 2025):

What an bullshit decission...Then we have no choice - we remove it completely until Debian 13 is available as a template.

@MickLesk commented on GitHub (Aug 28, 2025): What an bullshit decission...Then we have no choice - we remove it completely until Debian 13 is available as a template.
Author
Owner

@MickLesk commented on GitHub (Aug 28, 2025):

i try it with uv, but doesnt work, the python is directly in the prebuild. I pin the version to latest before this switch and need to wait for debian update

@MickLesk commented on GitHub (Aug 28, 2025): i try it with uv, but doesnt work, the python is directly in the prebuild. I pin the version to latest before this switch and need to wait for debian update
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1537