Looks more like there is something wrong with your Apache installation.

Instead of using configure/make/make install method of building mod_wsgi, try 
using the pip install method.

See:

https://pypi.org/project/mod-wsgi/ <https://pypi.org/project/mod-wsgi/>

This may not help if is apxs from Apache which is generating bogus output.

What Apache bistro are you using? A system provided package, or some third 
party one?

Graham

> On 4 Mar 2022, at 7:46 pm, vladko 312 <[email protected]> wrote:
> 
> I used mod_wsgi 4.8 with python 3.9 in termux, but i switched to python 3.10 
> and it is no longer possible to compile it, as python removed some header 
> files that are required. I tried to compile mod_wsgi 4.9 and a development 
> version, but both failed with the same error:
> /data/data/com.termux/files/usr/share/apr-1/build/libtool --silent 
> --mode=link aarch64-linux-android-clang -L/data/data/com.termux/files/usr/lib 
> -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp 
> -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now 
> -Wl,--no-as-needed,-landroid-support,--as-needed -lapr-1 -laprutil-1 
> -L/home/builder/.termux-build/apache2/src/libdummy 
> -Wl,--as-needed,-ldummy-mod_cache,-ldummy-mod_dav,-ldummy-mod_proxy,-ldummy-mod_session,-ldummy-mod_watchdog
>  -Wl,-rpath=/data/data/com.termux/files/usr/libexec/apache2   -o 
> src/server/mod_wsgi.la  -rpath 
> /data/data/com.termux/files/usr/libexec/apache2 -module -avoid-version    
> src/server/wsgi_validate.lo src/server/wsgi_thread.lo 
> src/server/wsgi_stream.lo src/server/wsgi_server.lo 
> src/server/wsgi_restrict.lo src/server/wsgi_metrics.lo 
> src/server/wsgi_memory.lo src/server/wsgi_logger.lo src/server/wsgi_interp.lo 
> src/server/wsgi_daemon.lo src/server/wsgi_convert.lo 
> src/server/wsgi_buckets.lo src/server/wsgi_apache.lo src/server/mod_wsgi.lo 
> -L/data/data/com.termux/files/usr/lib 
> -L/data/data/com.termux/files/usr/lib/python3.10/config -lpython3.10 -lcrypt 
> -ldl -lm -lm
> ld.lld: error: unable to find library -ldummy-mod_cache
> ld.lld: error: unable to find library -ldummy-mod_dav
> ld.lld: error: unable to find library -ldummy-mod_proxy
> ld.lld: error: unable to find library -ldummy-mod_session
> ld.lld: error: unable to find library -ldummy-mod_watchdog
> clang-13: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> apxs:Error: Command failed with rc=65536
> How to fix it? I use apache 1:2.4.52-2 and termux 0.101
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/6cb36c8d-4cd3-43d5-a392-b39bef80f367n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/modwsgi/6cb36c8d-4cd3-43d5-a392-b39bef80f367n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/2EC47603-56B3-4DA7-86F0-2D29200BEDFD%40gmail.com.

Reply via email to