[Zope-dev] Large File Support

Florent Guillaume fg@nuxeo.com
Mon, 18 Mar 2002 15:52:52 +0000 (UTC)


Just a heads up, for people who're not sure:

None of the Linux binary downloads of Zope I've tested (including
2.5.1b1) are built with Large File Support in python. Also unstable
Debian's python is without Large File Support, same thing with Mandrake
8.1.

If you want to check for yourself your python, several methods:

  bin/python -c "import os; os.lseek(0, 1L<<33, 0)"

    This should give you an OSError. If you get an OverflowError you
    don't have Large File Support.

  nm bin/python | grep lseek

    This should show you at least one "lseek64".

  If your python uses a libpython.so, check using:

    objdump -T /usr/lib/libpython2.1.so.0.0 | grep lseek

  You should seek a "lseek64" here.


HTH,

Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:fg@nuxeo.com