Re: OpenSSH 3.4 Packages for RH 6.2?

From: Kai Risku (krisku@soberit.hut.fi)
Date: 06/28/02


From: "Kai Risku" <krisku@soberit.hut.fi>
Date: Fri, 28 Jun 2002 14:15:24 +0300


"Marc D. Spencer" <mspencer@nospam.liquidpixels.com> wrote in message
news:3D1B7097.9030708@nospam.liquidpixels.com...
> Has anyone built OpenSSH 3.4 packages (RPMs) for RedHat 6.2?
>
> I seem to be in a dependancy circle...
>
> openssh-3.4p1 needs db1 libary that is part of glibc 2.1.99; RedHat 6.2
> uses glibc 2.1.3. Updating is not an option.

The source RPM defaults to building for a RedHat 7.x system, and you must
explicitly set a flag specifying you are building for 6.x. This flag then
affects the dependencies and compiles nicely on a RedHat 6.2 system (and
works too!).

I.e. obtain the openssh-3.4p1-1.src.rpm file and then give the following
command:

rpm --define "build_6x 1" --rebuild openssh-3.4p1-1.src.rpm

and it will produce binary RPMS for you under /usr/src/redhat/RPMS/