Public bug reported:

The mod_python.so in that package is statically linked to version 2.7.17 of 
libpython2.7.so.1.0.
However it depends on the python2.7-package which currently installs version 
2.7.18 of libpython2.7.so.1.0.

In result i get the following error when apache2 tries to use mod_python:
[Thu Mar 18 01:00:04.123303 2021] [:error] [pid 5261:tid 140429445471296] 
python_init: Python version mismatch, expected '2.7.17', found '2.7.18'.

I did not try to build the module myself... but by hex-editing the
version number inside mod_python.so i was able to circumvent the error.

** Affects: libapache2-mod-python (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1919923

Title:
  mod_python statically linked to wrong python 2.7 version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libapache2-mod-python/+bug/1919923/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to