Re: large files > 2GB support ?

From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 11/26/03


Date: Wed, 26 Nov 2003 06:24:59 GMT

In article <Pine.GSO.4.44.0311261554190.10659-100000@lion.ind.tansu.com.au>,
Suresh Bangalore <suresh@ind.tansu.com.au> wrote:
>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.

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
configure):

#define _FILE_OFFSET_BITS 64

-- 
Darren Tucker (dtucker at zip.com.au)
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.


Relevant Pages

  • Re: 4.3p1 and idled
    ... idled stills notices that your session has been left alone ... This is on a Solaris 8 system. ... portability changelog that references tty behavior, but then again I may be ... Good judgement comes with experience. ...
    (SSH)
  • Re: SSH/openSSH on AIX 5.2
    ... >version of openssh 3.8.1 usable? ... file support for some reason. ... If you're compiling yourself, check ... Good judgement comes with experience. ...
    (comp.unix.aix)
  • Re: disabled account accepting publickey authentication
    ... >I don't think this is necessarily the right interpretation. ... The RedHat ... On Solaris, that depends on where you look. ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: statically-linked executables
    ... not a supported ABI on Solaris and is pretty much guaranteed to break at ... just need to make sure that the linker finds static libraries first. ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: password-less logins on solaris 2.5.1 boxen - subtle troubles
    ... > Trying to set up password-less keypair logins between solaris 2.5.1 ... > boxes. ... I can get them to work with some usernames, ... Good judgement comes with experience. ...
    (SSH)