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

[BUG] Source code is compiled with --enable-python indicating python support, but modpython refuses to load #47

Closed
1 task done
vincejv opened this issue Jan 6, 2024 · 4 comments

Comments

@vincejv
Copy link

vincejv commented Jan 6, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Loading modpython causes error Unable to load modpython: Unable to open module modpython: Error loading shared library libpython3.11.so.1.0: No such file or directory (needed by /usr/lib/znc/modpython.so), yet in the Dockerfile support is enabled during source code compilation?

--enable-python \

Expected Behavior

Loads modpython without errors

Steps To Reproduce

  1. Run /znc LoadMod modpython in irc client
  2. Error Unable to load modpython: Unable to open module modpython: Error loading shared library libpython3.11.so.1.0: No such file or directory (needed by /usr/lib/znc/modpython.so) shows, unable to load python module

Environment

- OS:Ubuntu 22.04.3 LTS
- How docker service was installed: apt, distro's package manager

CPU architecture

x86-64

Docker creation

znc:
    image: lscr.io/linuxserver/znc:latest
    container_name: znc
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/Manila
    networks:
      int-static-br:
        ipv4_address: 172.18.0.42
    volumes:
      - ./config:/config
    ports:
      - 6501:6501
      - 6588:6588
    restart: unless-stopped

Container logs

Adding 1 servers... 
Loading network [p2p-network]
Loading network module [simple_away]... [/usr/lib/znc/simple_away.so]
Loading network module [stickychan]... [/usr/lib/znc/stickychan.so]
Loading network module [nickserv]... [/usr/lib/znc/nickserv.so]
Adding 1 servers... 
Loading network [rizon]
Loading network module [sasl]... [/usr/lib/znc/sasl.so]
Loading network module [simple_away]... [/usr/lib/znc/simple_away.so]
Loading network module [stickychan]... [/usr/lib/znc/stickychan.so]
Adding 1 servers... 
Loading network [superbits]
Loading network module [nickserv]... [/usr/lib/znc/nickserv.so]
Loading network module [simple_away]... [/usr/lib/znc/simple_away.so]
Loading network module [stickychan]... [/usr/lib/znc/stickychan.so]
Loading network module [perform]... [/usr/lib/znc/perform.so]
Adding 1 servers... 
Loading user module [chansaver]... 
Loading user module [controlpanel]... 
Staying open for debugging [pid: 3534]
ZNC 1.8.2 - https://znc.in
Copy link

github-actions bot commented Jan 6, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@vincejv vincejv changed the title [BUG] Source code is compiled with --enable-python but modpython refuses to load [BUG] Source code is compiled with --enable-python indicating python support, but modpython refuses to load Jan 6, 2024
@vincejv
Copy link
Author

vincejv commented Jan 12, 2024

as per discord support, work around

There is no python in the image as it's not a required runtime dependency. Let us know what triggers that error and we'll look into it. In the meantime, you can install python3 via https://github.com/linuxserver/docker-mods/tree/universal-package-install

@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@homerr homerr closed this as not planned Won't fix, can't repro, duplicate, stale Mar 19, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Mar 19, 2024
Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

3 participants