On May 30, 2003 at 12:03, Satya wrote: >mod_auth_any works on Linux but not on OSX. apxs i -c, and then >apachectl: > >Syntax error on line 271 of /etc/httpd/httpd.conf: >Cannot load /usr/libexec/httpd/mod_auth_any.so into server: (reason >unknown)
Solution for the archives: Always check the libraries. In this case, we were using strnlen(), which was available with Linux/glibc, but not on OSX/libc. We wrote our own and #ifdef'd it in. apxs only compiles, the linking happens at runtime. -- Satya. <URL:http://satya.virtualave.net/> Moo! -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

