[FreeBSD Port: mod_python-3.1.4_1] "Undefined symbol" with apache22
j_f_b
jfb at minet.net
Thu Dec 15 07:02:08 PST 2005
I updated my apache to the lastest release (2.2.0) but I found a problem
with mod python. When apache loads mod_python, I got this error.
##
# httpd: Syntax error on line 90 of /usr/local/etc/apache22/httpd.conf:
# Cannot load /usr/local/libexec/apache22/mod_python.so into
# server: /usr/local/libexec/apache22/mod_python.so: Undefined symbol
# "APR_STATUS_IS_SUCCESS"
##
looking for a solution to this problem, I found this in apache
changelog :
##
# Changes with Apache 2.1.1
# *) Remove deprecated/removed APR_STATUS_IS_SUCCESS(). [Justin
# Erenkrantz]
##
So I removed references to this variable in mod_python code (files :
src/filterobject.c and src/connobject.c), I made another tarball of the
sources, I changed tarball's size and checksum in the distinfo file.
I was ablle to compile the mod_python with those changes and its works
fine whereas there were some warnings while compiling.
Could those changes be done directly in the ports (with an environnement
variable WITH_APACHE22 ?) in order to avoid anyone doing it by himself ?
Thanks for your attention
Jean-François
PS: I am sorry for my poor level in English. I hope you'll be able to
understand me ;) !
More information about the freebsd-ports
mailing list