[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: 64-bit
Mitja Sarp wrote:
> Is there any support for larger-than-2G files? ldif2ldbm at least choked
> on my 4G ldif. If not, it could be a good compile-option.
What OS ?
On Solaris 2.6 you can compile in largfile support with
CC=gcc
CFLAGS=" -D_FILE_OFFSET_BITS=64 `getconf LFS_CFLAGS` `getconf LFS_LDFLAGS`
`getconf LFS_LIBS` -O "
export CC CFLAGS
Also see man page on largefile,lfcompile64,lfcompile,lf64
I have not tested this with ldap, but this has helped we with other
programs.
- References:
- 64-bit
- From: Mitja Sarp <mitja@lysator.liu.se>