Date: Thu, 15 Dec 2005 16:01:55 +0100 From: j_f_b <jfb@minet.net> To: perky@freebsd.org Cc: ports@freebsd.org Subject: [FreeBSD Port: mod_python-3.1.4_1] "Undefined symbol" with apache22 Message-ID: <1134658915.55827.30.camel@r2d2>
next in thread | raw e-mail | index | archive | help
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 ;) !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1134658915.55827.30.camel>