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 -lmld.lld: error: unable to find library -ldummy-mod_cacheld.lld: error: unable to find library -ldummy-mod_davld.lld: error: unable to find library -ldummy-mod_proxyld.lld: error: unable to find library -ldummy-mod_sessionld.lld: error: unable to find library -ldummy-mod_watchdogclang-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]. To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/6cb36c8d-4cd3-43d5-a392-b39bef80f367n%40googlegroups.com.
