When I compile and run svn trunk with apache 2.2.3 I get an run I get the following:

apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/mod_python.load: Cannot load /usr/lib/apache2/modules/mod_python.so into server: /usr/lib/apache2/modules/mod_python.so: undefined symbol: apr_lstat


Digging into include/apr-0/apr_file_info.h, I see that apr_lstat is deprecated with the following note:

"This function is deprecated, it's equivalent to calling apr_stat with the wanted flag value APR_FINFO_LINK."

and a quick grep of apr-1 confirms that it is gone.

The code that is using apr_lstat is the new mp_lstat function in _apachemodule.c. Within that function we could do

        wanted = wanted | APR_FINFO_LINK

but given that apr_lstat *is* deprecated, perhaps we would be better off dropping it, and just making a note in the documentation for apache.stat?

Jim

Reply via email to