我可以按照here
的说明构建httpd但是尝试执行它时,httpd声称缺少* .so库:
$ ./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
因此,我重命名了httpd.conf中引用的模块库名称。 (.so-> .la,然后-> .a)
但是httpd抱怨exec格式错误:
$ ./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
一个设置httpd如何将其模块加载到MSYS2上?