I use apache from termux repos. Previously, everything worked (before i upgraded all packets). I tried using python-provided mod_wsgi but it never worked. Now it gives me this error:
*CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/httpd": cannot locate symbol "apr_procattr_limit_set" referenced by "/data/data/com.termux/files/usr/bin/httpd"...Aborted* Seems like it is unrelated to mod_wsgi, but i can't fix it either пятница, 4 марта 2022 г. в 11:51:08 UTC+3, Graham Dumpleton: > 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/ > > 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 <http://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 > > <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/c97d751f-061d-42a0-be82-9c5c47a3a92cn%40googlegroups.com.
