make tests failures (agent.sh)

Roumen Petrov openssh at roumenpetrov.info
Wed May 18 19:17:16 EST 2005


> Hello,
> I recently setup a CentOS 4.0 box (a derivative of RH).
>
> I downloaded a 4.0p1 tarball of OpenSSH and grabbed OpenSSL 0.9.7e. I
> [SNIP]
> I then configured OpenSSH.
> [SNIP]
> $ ./configure --prefix=/home/scott
> --with-ssl-dir=/home/scott/src/openssl-0.9.7e
> [SNIP]
> ssh-add -l via agent fwd proto 2 failed (exit code 0)
> /home/scott/src/openssh-4.0p1/ssh: error while loading shared
> libraries: libcrypto.so.0.9.7: cannot open shared object file: No such
> file or directory
> agent fwd proto 2 failed (exit code 0)
> [SNIP]
> Do I need to specify something else to configure?

Yes, run-time library search path.

As example for gcc compiler with the GNU ld linker:
LDFLAGS='-Wl,-rpath,/home/scott/src/openssl-0.9.7e \
./configure ...





More information about the openssh-unix-dev mailing list