msys2下的apache:如何设置httpd在MSYS2上加载其模块(生成.so而不是.a)?

时间:2019-03-19 06:58:22

标签: apache mingw httpd.conf msys2

我可以按照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上?

0 个答案:

没有答案