large files > 2GB support ?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Built openssh-3.7.1p2 with --large-files support on a solaris 8 sun4u machine.

./configure --enable-largefile --prefix=/pkgs/openssh-3.7.1p2
--with-cppflags=-I/pkgs/include --with-ldflags=-L/pkgs/lib
--with-ssl-dir=/pkgs/openssl-0.9.7c --sysconfdir=/etc/openssh
--disable-wtmp --disable-utmp

Everything works fine, except the large file support.
I can't do a scp of files > 2GBs. Any suggestions are greatly appreciated.


Re: large files > 2GB support ?

Quoted text here. Click to load it

Check the settings for _FILE_OFFSET_BITS and _LARGE_FILES in config.h.
(I think only _FILE_OFFSET_BITS is required on Solaris.)

If it's not set, put this into config.h and recompile (don't re-run

#define _FILE_OFFSET_BITS 64

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Site Timeline