Compiling 3.8p1 on AIX with IBM OpenSSL RPMs

Elwell, AD (Andrew) A.D.Elwell at dl.ac.uk
Tue Apr 20 19:39:45 EST 2004


Folks,

I've just updated a machine to the latest IBM supplied OpenSSL RPMS:	
	openssl-0.9.6m-1
openssl-devel-0.9.6m-1

(this is a power4 running AIX 5.1)
and Tried to upgrade to the latest OpenSSH (3.8p1 - both the release and a
snapshot from about a week ago)

I'm using:

./configure --prefix=/usr --sysconfdir=/etc/ssh --with-ssl-dir=/opt/freeware

and the compilation seems OK:

OpenSSH has been configured with the following options:
                     User binaries: /usr/bin
                   System binaries: /usr/sbin
               Configuration files: /etc/ssh
                   Askpass program: /usr/libexec/ssh-askpass
                      Manual pages: /usr/man/manX
                          PID file: /etc/ssh
  Privilege separation chroot path: /var/empty
            sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin
                    Manpage format: man
                       PAM support: no
                 KerberosV support: no
                 Smartcard support: no
                     S/KEY support: no
              TCP Wrappers support: no
              MD5 password support: no
       IP address in $DISPLAY hack: no
           Translate v4 in v6 hack: no
                  BSD Auth support: no
              Random number source: ssh-rand-helper
     ssh-rand-helper collects from: Command hashing (timeout 200)

              Host: powerpc-ibm-aix5.1.0.0
          Compiler: cc
    Compiler flags: -g
Preprocessor flags: -I/opt/freeware/include
      Linker flags: -L/opt/freeware/lib  -blibpath:/usr/lib:/lib
         Libraries:   -lcrypto -lz


(yes it does pick up the correct SSL version :
checking OpenSSL header version... 9060df (OpenSSL 0.9.6m 17 Mar 2004)
checking OpenSSL library version... 9060df (OpenSSL 0.9.6m 17 Mar 2004)
checking whether OpenSSL's headers match the library... yes
checking whether OpenSSL's PRNG is internally seeded... no

But when I come to run the SSH client or daemon I get:
 ./ssh localhost
exec(): 0509-036 Cannot load program ./ssh because of the following errors:
        0509-150   Dependent module libcrypto.a(libcrypto.so.0) could not be
loaded.
        0509-022 Cannot load module libcrypto.a(libcrypto.so.0).
        0509-026 System error: A file or directory in the path name does not
exist.


Now, is this a fubarred installation of OpenSSL (libcrypto.so.0 doesn't
exist in the RPM)
or do I need to add a flag to force the static version?

 ls -l /opt/freeware/lib/libcrypto*
-rw-r--r--    1 root     system    4317970 Mar 18 17:11
/opt/freeware/lib/libcrypto-static.a
-rwxr-xr-x    1 root     system    3454530 Mar 18 17:11
/opt/freeware/lib/libcrypto.a


Many thanks

Andrew
-- 
Andrew Elwell <A.D.Elwell at dl.ac.uk>
Room C5, Daresbury Laboratory,
Keckwick Lane, Daresbury, WARRINGTON, WA4 4AD
Tel: +44 (0)1925 603966
Mob: +44 (0)7952 922263 <-- NEW NUMBER
Pager: 08700 555500 [883616]




More information about the openssh-unix-dev mailing list