Closed GoogleCodeExporter closed 9 years ago
For now the easiest thing to do is to edit the Makefile generated by the
configure scripts and change '-lpython3.3' to '-lpython3.3m'.
Otherwise you would need to use mod_wsgi source code from the repository. In
other words, it is already fixed for the next version. I was an oversight that
the fix didn't get into 3.4. I screwed up when back porting the change from 4.0
to 3.4.
Original comment by Graham.Dumpleton@gmail.com
on 13 Apr 2013 at 10:24
It gives a new error while changing it:
/usr/bin/ld: /usr/local/lib/libpython3.3m.a(abstract.o): relocation
R_X86_64_32S against `_PyObject_NextNotImplemented' can not be used when making
a shared object; recompile with -fPIC
/usr/local/lib/libpython3.3m.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
.
make: ** [mod_wsgi.la] Erro 1
any tips?
Thanks for helping
Original comment by rickinbsb
on 12 Jul 2013 at 8:03
Your Python was not built with --enable-shared when configure for Python was
run. See:
http://code.google.com/p/modwsgi/wiki/InstallationIssues#Mixing_32_Bit_And_64_Bi
t_Packages
Original comment by Graham.Dumpleton@gmail.com
on 12 Jul 2013 at 8:05
oh man, I tested it locally and it worked flawlessly. Will try to install on
the develop server, many thanks
Original comment by rickinbsb
on 15 Jul 2013 at 11:49
Thanks!
Original comment by t.h...@worldware.com
on 5 Aug 2013 at 12:36
Closing as was fixed in a subsequent mod_wsgi release.
Original comment by Graham.Dumpleton@gmail.com
on 16 Sep 2014 at 6:56
Original issue reported on code.google.com by
tianzhuo...@gmail.com
on 13 Apr 2013 at 9:04