问题
I could build httpd as described here
but when trying to execute it, httpd claim for a missing *.so library:
$ ./httpd
httpd: Syntax error on line 66 of /home/username/httpd/conf/httpd.conf: Cannot load modules/mod_authn_file.so into server: No such file or directory
I thus renamed the module library names referenced in httpd.conf (.so -> .la , then -> .a)
but httpd complains about an exec format error:
$ ./httpd
httpd: Syntax error on line 66 of /home/username/httpd/conf/httpd.conf: Cannot load modules/mod_authn_file.la into server: Exec format error
MSYS ~/httpd/bin
$ ./httpd
httpd: Syntax error on line 66 of /home/username/httpd/conf/httpd.conf: Cannot load modules/libmod_authn_file.a into server: Exec format error
how could one setup httpd to load its modules on MSYS2 ?
来源:https://stackoverflow.com/questions/55235233/apache-under-msys2-how-could-one-setup-httpd-to-load-its-modules-on-msys2-gene