Segmentation Fault while compiling and installing openssh-3.9p1

vinay.purohit at nomura.com vinay.purohit at nomura.com
Fri Feb 5 18:43:14 EST 2010


I am trying to compile and install openssh-3.9p1 (with openssl-0.9.7j)
on my personal dev env to have a play. I get the below mentioned
segmentation fault message. 

---------
Generating public/private rsa1 key pair.
/bin/sh: line 1: 10901 Segmentation fault      ./ssh-keygen -t rsa1 -f
/home/vinay/var/vinay_ssh/etc/ssh_host_key -N ""
Generating public/private dsa key pair.
/bin/sh: line 1: 10902 Segmentation fault      ./ssh-keygen -t dsa -f
/home/vinay/var/vinay_ssh/etc/ssh_host_dsa_key -N ""
Generating public/private rsa key pair.
/bin/sh: line 1: 10903 Segmentation fault      ./ssh-keygen -t rsa -f
/home/vinay/var/vinay_ssh/etc/ssh_host_rsa_key -N ""
make: *** [host-key] Error 139
---------

My configure and install script looks something like this 

./configure --with-libs=-ldl  --includedir=$HOME/var/vinay_ssh/include
--prefix=$HOME/var/vinay_ssh --exec_prefix=$HOME/var/vinay_ssh
--with-ssl-dir=$HOME/var/openssl
make clean
make install

Config steps shows this 

OpenSSH has been configured with the following options:
                     User binaries: /home/vinay/var/vinay_ssh/bin
                   System binaries: /home/vinay/var/vinay_ssh/sbin
               Configuration files: /home/vinay/var/vinay_ssh/etc
                   Askpass program:
/home/vinay/var/vinay_ssh/libexec/ssh-askpass
                      Manual pages: /home/vinay/var/vinay_ssh/man/manX
                          PID file: /var/run
  Privilege separation chroot path: /var/empty
            sshd default user PATH:
/usr/bin:/bin:/usr/sbin:/sbin:/home/vinay/var/vinay_ssh/bin
                    Manpage format: doc
                       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: yes
                  BSD Auth support: no
              Random number source: OpenSSL internal ONLY

              Host: x86_64-unknown-linux-gnu
          Compiler: gcc
    Compiler flags: -g -O2 -Wall -Wpointer-arith -Wno-uninitialized
Preprocessor flags: -I/home/vinay/var/openssl/include 
      Linker flags: -L/home/vinay/var/openssl/lib 
         Libraries:   -lcrypto -lutil -lz -lnsl  -ldl -lcrypt -lresolv
-lresolv


Can someone shed light on why could the segmentation fault be generated
?


Regds
Vinay

This e-mail (including any attachments) is confidential, may contain proprietary or privileged information and is intended for the named recipient(s) only. Unintended recipients are prohibited from taking action on the basis of information in this e-mail and must delete all copies. Nomura will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in, this e-mail. If verification is sought please request a hard copy. Any reference to the terms of executed transactions should be treated as preliminary only and subject to formal written confirmation by Nomura. Nomura reserves the right to monitor e-mail communications through its networks (in accordance with applicable laws). No confidentiality or privilege is waived or lost by Nomura by any mistransmission of this e-mail. Any reference to "Nomura" is a reference to any entity in the Nomura Holdings, Inc. group. Please read our Electronic Communications Legal Notice which forms part of this e-mail: http://www.Nomura.com/email_disclaimer.htm


More information about the openssh-unix-dev mailing list