[mod_python] mod_python 3.1.4 issue with Apache 2.0.53

Toke, Gyula Gyula.Toke at pfizer.com
Wed Apr 13 09:59:15 EDT 2005

Hello there,
has anybody seen the following
on Sun Solaris 8:
$ pwd
$ /path_to_apache/2.0.53/bin/apxs -q CC
$ which gcc
$ /usr/local/bin/gcc --version
$ /path_to_python/2.3.5/bin/python
Python 2.3.5 (#4, Apr 13 2005, 12:37:44)
[GCC 2.95.3 20010315 (release)] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> ^D
$ ./configure --with-apxs=/path_to_apache/2.0.53/bin/apxs
$ make
/path_to_apache/2.0.53/build/libtool --silent --mode=link gcc -o
mod_python.la -rpath /path_to_apache/2.0.53/modules -module -avoid-version
hlistobject.lo hlist.lo filterobject.lo connobject.lo serverobject.lo
util.lo tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo
-L/usr/local/lib -L/path_to_python/2.3.5/lib/python2.3/config -lm
-lpython2.3 -lresolv -lsocket -lnsl -lrt -ldl -lpthread -lm _eprintf.o
_floatdidf.o _muldi3.o
*** Warning: Linking the shared library mod_python.la against the
*** objects _eprintf.o _floatdidf.o _muldi3.o is not portable!
and here comes a long list which ends with:
printf 0x154
printf 0x7c
printf 0xb0
printf 0x114
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
make[1]: *** [mod_python.so] Error 1
make[1]: Leaving directory `/path_to_builds/mod_python-3.1.4/src'
make: *** [do_dso] Error 2
In the relocation list above, every single entry is about
/path_to_python/2.3.5/lib/python2.3/config/libpython2.3.a file.
We have Apache 2.0.52 server with mod_python 3.1.3 (with Python 2.3.4) up
and running and I did not have any problems with the installation. I tried
to install mod_python 3.1.3 (with Python 2.3.4) on apache 2.0.53, but the
problem seems to be the same.
Does anybody have any idea what could go wrong, what I am doing wrong??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20050413/eec37ca5/attachment.html

More information about the Mod_python mailing list