AW: AW: [mod_python] undefined symbol: stat solved!
IlpoNyyssönen
iny at iki.fi
Tue Jul 25 17:58:41 EST 2000
Gregory Trubetskoy <grisha at modpython.org> writes:
> On Tue, 25 Jul 2000, Denys Bogatz wrote:
>
> > I solved the problem by linking /usr/lib/modules/2.2.10/libc.a within
> > mod_python...
> >
> > (I found "stat.o" inside this library, extracted that and got some
> > other undefined symbols - so I decided to link the whole libc.a) But
> > now my mod_python.so is somewhat over 300k in size - is this too much?
>
> to make it smaller, you can try something like:
>
> ar x /usr/lib/modules/2.2.10/libc.a stat.o
>
> then add stat.o as an argument to your apxs command.
Or even add -lc to the apxs command. That is what I did, but I still
have that problem with urllib I wrote about.
--
Ilpo Nyyssönen # biny
/* :-) */
More information about the Mod_python
mailing list