apache under msys2: how could one setup httpd to load its modules on MSYS2 (generate .so instead of .a)?

♀尐吖头ヾ 提交于 2019-12-25 01:27:38

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!