Solaris 10 support

guyverdh at mchsi.com guyverdh at mchsi.com
Tue Mar 22 07:31:50 EST 2005


Couple of things.

#1 - ISO Images of Solaris 10 can be downloaded for free from www.sun.com - for
x86 and Sparc platforms.  No need for a media kit.  You're on your own on
finding a hard drive.

#2 - Out of the box, using the Sun supplied opensource software contained in
/usr/sfw for compiling, breaks down during the "make" process.

PATH=/usr/sfw/bin:/usr/bin:/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin

export CFLAGS="-O3"
./configure --with-pam --disable-suid-ssh --without-rsh
--with-default-path=/usr/bin:/bin:/usr/sbin:/sbin:/usr/sfw/bin:/usr/local/bin:/usr/local/sbin

returns
OpenSSH has been configured with the following options:
                     User binaries: /usr/local/bin
                   System binaries: /usr/local/sbin
               Configuration files: /usr/local/etc
                   Askpass program: /usr/local/libexec/ssh-askpass
                      Manual pages: /usr/local/man/manX
                          PID file: /var/run
  Privilege separation chroot path: /var/empty
            sshd default user PATH:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/sfw/bin:/usr/local/bin:/usr/local/sbin
   (If PATH is set in /etc/default/login it will be used instead. If
   used, ensure the path to scp is present, otherwise scp will not work.)
                    Manpage format: man
                       PAM support: yes
                 KerberosV support: no
                 Smartcard support: no
                     S/KEY support: no
              TCP Wrappers support: no
              MD5 password support: no
                   libedit support: no
       IP address in $DISPLAY hack: no
           Translate v4 in v6 hack: no
                  BSD Auth support: no
              Random number source: OpenSSL internal ONLY

              Host: sparc-sun-solaris2.10
          Compiler: gcc
    Compiler flags: -O3 -Wall -Wpointer-arith -Wno-uninitialized
Preprocessor flags: 
      Linker flags: 
         Libraries:  -lpam -ldl -lresolv -lcrypto -lrt -lz -lsocket -lnsl

SVR4 style packages are supported with "make package"

PAM is enabled. You may need to install a PAM control file 
for sshd, otherwise password authentication may fail. 
Example PAM control files can be found in the contrib/ 
subdirectory

WARNING: the operating system that you are using does not 
appear to support either the getpeereid() API nor the 
SO_PEERCRED getsockopt() option. These facilities are used to 
enforce security checks to prevent unauthorised connections to 
ssh-agent. Their absence increases the risk that a malicious 
user can connect to your agent. 


$ gmake 

gets to this point and dies

gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o
sshconnect2.o -L. -Lopenbsd-compat/  -lssh -lopenbsd-compat -lresolv -lcrypto
-lrt -lz -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
EVP_aes_192_cbc                     ./libssh.a(cipher.o)
EVP_aes_256_cbc                     ./libssh.a(cipher.o)
ld: fatal: Symbol referencing errors. No output written to ssh
collect2: ld returned 1 exit status
gmake: *** [ssh] Error 1


It's probably a simple library pathing issue, just haven't had time to dig into
it at this time.




More information about the openssh-unix-dev mailing list