On 03/26/2010 10:53 PM, David wrote:
Since I compiled Python with the --enable-shared option, the Python
build should be good.

Since the ldd on mod_wsgi yielded "libpython2.6.so.1.0 =>  /opt/
python2.6/lib/libpython2.6.so.1.0", does that mean mod_wsgi is already
using shared libraries?

So I only need to re-compile mod_python... how do I make it use the
shared library?

David

To build with libpython shared, I'm using this make line:


make LDFLAGS="-L${_libdir}" %{?_smp_mflags} APXS_CFLAGS="-Wc,-fno-strict-aliasing"

That's taken from the spec file but you should be able to decipher it, just make sure that it can find the python libraries when building it.

-josh

--
A: No.
Q: Should I include quotations after my reply?

Don't top post: see http://www.caliburn.nl/topposting.html for more.

--
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to