blibpath changes for AIX

Markus Alt altmark at
Thu May 15 23:07:15 EST 2003

Hi all,

lately I've built a RPM for OpenSSH 3.6.1p2 on AIX using the OpenSSL
installation that comes with IBM's "AIX Toolbox for Linux". The latter
by default installs in the /opt/freeware directory, so I've ran
configure with the option '--with-ssl-dir=/opt/freeware'.

This has worked fine for former versions of OpenSSH, but with 3.6.1p2,
/opt/freeware/lib apparently does not get added to blibpath during the
build. As a matter of fact, after installing the RPM, sshd refuses to
start as it cannot find libcrypto.a in /usr/lib or /lib.

If I add 'export blibpath="/opt/freeware/lib:/usr/lib:/lib"' to the SPEC
file before running configure, all works well. But I would expect to get
/opt/freeware/lib added to blibpath automatically by the --with-ssl-dir

The ChangeLog contains

 - (djm) Fix blibpath specification for AIX/gcc

which I suspect to be the cause for what I'm seeing. Could anybody
please comment?


P.S.: Please copy me on your replies, as I'm not subscribed to the list.

Markus Alt
IBM Lab Boeblingen, Germany
altmark at

More information about the openssh-unix-dev mailing list