Mateusz Korniak
mateusz at ant.gliwice.pl
Wed Jan 9 11:18:51 EST 2008
On Wednesday 09 of January 2008, Jevgenijs Rogovs wrote: > You were right, I built mod_python myself, and it is not stripped. Here's > the output of the file command: > > ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped > > So, what do I do to strip those symbols? I am building by the book, i.e. > > ./configure --with-aspx=/path/to/aspx > make make dso ? > make install > > Should there be some additional switch added to the configure command, or? $ ls -la /usr/lib/apache/mod_python.so -rwxr-xr-x 1 root root 90072 2006-11-17 12:34 /usr/lib/apache/mod_python.so $ file /usr/lib/apache/mod_python.so /usr/lib/apache/mod_python.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped It is taken from rpm from PLD .spec [1] file. %build %{__aclocal} %{__autoconf} %configure \ --with-apxs=%{apxs} %{__make} dso Linking patch [2] seems to be used also ... [1]: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/apache-mod_python.spec [2]: $ cat ../SOURCES/apache-mod_python-ldflags.patch --- mod_python-3.1.3/configure.in.ldflags +++ mod_python-3.1.3/configure.in @@ -225,7 +225,7 @@ LDFLAGS="${LDFLAGS} -Wl,-framework,Python" fi else - LDFLAGS="${LDFLAGS} -L${PyLIBPL}" + #LDFLAGS="${LDFLAGS} -L${PyLIBPL}" AC_CHECK_LIB(python${PyVERSION}, Py_NewInterpreter, [ PyPYTHONLIBS="-lpython${PyVERSION}" ], [ LDFLAGS="$save_LDFLAGS" Regards, HiH, -- Mateusz Korniak
|