You are not logged in.

#1 2024-04-29 19:12:17

Orbital_sFear
Member
Registered: 2014-10-13
Posts: 44

Apache mod_wsgi error after Python 3.12 update

Hello,

I run Apache2 with Django, through WSGI. Over the weekend, my system updated to Python 3.12.

When I try to start the server, I get the following error
httpd: Syntax error on line 514 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_wsgi.so into server: libpython3.11.so.1.0: cannot open shared object f>

ldd mod_wsgi.so
    linux-vdso.so.1 (0x00007ffe63dbb000)
    libpython3.11.so.1.0 => not found
    libc.so.6 => /usr/lib/libc.so.6 (0x00007fe827742000)
    /usr/lib64/ld-linux-x86-64.so.2 (0x00007fe827976000)

Is there a way for me to update these packages to 3.12?

Last edited by Orbital_sFear (2024-04-29 19:15:57)

Offline

#2 2024-04-29 21:04:37

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,927
Website

Re: Apache mod_wsgi error after Python 3.12 update

Rebuild mod_wsgi?

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB