Installing OpenSSL 3.5p1

From: Markus Waldorf (waldorfm@rferl.org)
Date: Mon Jan 06 2003 - 11:07:48 EST


Hello,

I'm trying to install OpenSSL 3.5p1 under Tru64 v 5.1 patchlevel 5. Perhaps
someone has done it already and could help me providing some info regarding
the following problems:

I followed the installation instructions at:
ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/INSTALL

The installation of OpenSSL 0.9.6 and Zlib went without a problem.

When I tried to compile OpenSSH 3.5p1, it would not find zlib.h and zconf.h.

I solved this by creating a symbolic link (there are probably other ways by
using flags - don't know).

cd [openssh 3.5p1 source-dir]
(ln -s /usr/local/include/zconf.h ./zconf.h)
(ln -s /usr/local/include/zlib.h ./zlib.h)

It would still fail because it could not find a privilege separating
account. There was nothing about it in the install docs, but I found some
information on the web and created an account "sshd" with "sshd" primary
group.

Everything seems to have compliled and installed ok.

When I try to use ssh I receive:
ssh_exchange_identification: Connection closed by remote host

I guess there are 2 ways to automatically start the sshd daemon. Either
create a script in rc3.d or put an entry in /etc/inetd.conf. I put an entry
in inetd.conf (using tcp-wrappers 7.6 from rpm alpha dist):

ssh stream tcp nowait root /usr/local/etc/tcpd
/usr/local/sbin/sshd

No word anywhere about /etc/services, but I put in an entry:

ssh 22/tcp
ssh 22/udp

Perhaps I have to compile openssh with tcp-wrappers support. I tried:

./configure --with-tcp-wrappers

it failes with error that it cannot locate libwrap library

I created a symblink of libwrap.a to /usr/local/lib/libwrap.a and installed
tcpd.h in /usr/local/inlcude (downloaded source code), and put a symlink
into the source directory too.

Now it compiles, but when it shows the configuration report is show
tcp-wrappers "NO"

Can someone help please?

Thanks and best regards,

RFE/RL, Inc.
Markus Waldorf



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:03 EDT