Gregory (Grisha) Trubetskoy
grisha at modpython.org
Tue Jul 3 22:53:53 EST 2001
floor() lives in libm, make sure that when you compile it, "-lm" is one of the options. On Wed, 4 Jul 2001, Matt Beauregard wrote: > We just set up mod_python and are getting the following strange error: > > Mod_python error: "PythonHandler modpython" > > Traceback (most recent call last): > File "/usr/local/lib/python2.1/site-packages/mod_python/apache.py", line 189, in Dispatch > result = object(self.req) > File "/usr/home/marauder/exchange/modpython.py", line 7, in handler > ImportError: /usr/local/lib/python2.1/lib-dynload/struct.so: Undefined symbol "floor" > > We get this any time some code tries to import struct, when running > through mod_python, but not when running from the interpreter. Any > clues for fixing it would be appreciated. > > Using mod_python 2.7.5 > Python 2.1 (#2, Jul 3 2001, 17:40:45) > [GCC 2.95.2 19991024 (release)] on freebsd4 > FreeBSD bofh.designscape.com.au 4.2-RELEASE FreeBSD 4.2-RELEASE #0: > Tue Feb 27 12:11:29 EST 2001 marauder at bofh.designscape.com.au:/usr/src/sys/compile/BOFH i386 > > thanks, > > -- > Matt Beauregard > BOFH, Designscape > Ph: +61 2 9361 4233 Fx: +61 2 9361 4633 > > Permission is given for unlimited distribution of this work under the > Copyright Act 1968 (2001 amended). Unless otherwise stated, you agree > that these terms also cover works which you send in response. > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://www.modpython.org/mailman/listinfo/mod_python >
|