From: Paul Jakma (paul at domain clubi.ie)
Date: Wed 31 Oct 2001 - 00:21:53 GMT
On Tue, 30 Oct 2001, Eoin Verling wrote:
> Hi,
>
> Things I need in order to support large files
> * I'm running kernel 2.4.6, which I believe supports large files
should do.
> * I assume I need libs that can handle large files, I believe
> that should be glibc >= 2.2
yep.
> - How do I check what version of glibc I have?
ldd --version
> * And finally, the application I'm trying to manipulate the large
> file with should be compiled for large files,
yes. needs to be compiled against a 2.2 glibc. and that glibc should
in turn have been compiled against kernel 2.4.
anyway RH7 glibc should be fine.
> compiled for use with large files. I'm just trying to find where
> the problem occurs, ie is it the kernel? the tool? the library?
you can do:
ldd .../the-app
find which libs it links against.
you can strace the app too. if it is LFS aware you probably will see
calls to fstat64(), getdents64(), fcntl64(). if instead you just see
plain old fstat(), getdents(), etc.. then the app needs a recompile.
> cheers
> E
regards,
-- Paul Jakma paul at domain clubi.ie paul at domain jakma.org Key ID: 64A2FF6A Fortune: If you took all of the grains of sand in the world, and lined them up end to end in a row, you'd be working for the government! -- Mr. Interesting
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:58 GMT