Open mbdevpl opened 4 years ago
Encountering exact same issue on Ubuntu 18.04 with following Python & pip:
$ python -VV
Python 3.8.2 (default, Mar 15 2020, 01:53:27)
[GCC 8.3.0]
$ pip --version
pip 20.1 from /home/mateusz/Software/Spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-8.3.0-26/python-3.8.2-xdclm7ardyhw6nuddnbkreprijtv43eq/lib/python3.8/site-packages/pip (python 3.8)
I don't see anything in uwsgi linking against gettext, is it libxml2? What does xml2-config --libs
return?
Uhm it well maybe your python, is it the ubuntu one? Pretty sure the 18.04 one is not a stock one
This is python3.8 from debian sid:
>>> from distutils import sysconfig
>>> LIBS = sysconfig.get_config_var('LIBS').split() + sysconfig.get_config_var('SYSLIBS').split()
>>>
>>> LIBS
['-lcrypt', '-lpthread', '-ldl', '-lutil', '-lm', '-lm']
Stock python3 from ubuntu 18.04:
>>> from distutils import sysconfig
>>> LIBS = sysconfig.get_config_var('LIBS').split() + sysconfig.get_config_var('SYSLIBS').split()
>>> LIBS
['-lpthread', '-ldl', '-lutil', '-lm']
Upgrading python to 3.9.7 solved the problem for me. I am using a Mac.
Python & pip versions:
Output when trying to install uwsgi:
Looking for packages that contains the missing
intl
library:... no such package.
Very Ugly Workaround™:
Try again:
Therefore the problem is that there is no package on Ubuntu 20.04 that contains exactly
libintl.so
, a compatiblepreloadable_libintl.so
is available instead. Could the setup of uwsgi accomodate that?In either case, it's not like uwsgi is not Ubuntu-20.04-ready, or Ubuntu 20.04 is not uwsgi-ready, because I think uwsgi is available in official Ubuntu repositories. Not sure what patch they use to enable it though.