Operating System - HP-UX
1849858 Members
1955 Online
104044 Solutions
New Discussion

openssh sshd dies withing unresolved symbol "getnameinfo"

 
SOLVED
Go to solution
Rodney Hills
Honored Contributor

openssh sshd dies withing unresolved symbol "getnameinfo"

I cold booted a hpux 11.11 system from Jun 2004 CD set. I wanted to setup "ssh" with my other server, so I downloaded the latest openssh, openssl, and zlib (openssh-4.2p1, openssl-0.9.8a, and zlib-1.2.3) and installed them.

These routines use to install under /opt, but now are under /usr/local, but I continued with the setup. I noticed that /usr/lib/ssllib.sl pointed to /opt/openssl (which was installed as part of the OS), so I force the openssl libraries to point to /usr/local/lib instead (used ln -sf to repoint them).

I ran the setup process "ssh-host-key-setup" and it ran ok.

The sshd daemon would not start. I ran it with debug and got the following error-

# /usr/local/sbin/sshd -d -e
debug1: sshd version OpenSSH_4.2p1
debug1: private host key: #0 type 0 RSA1
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #2 type 2 DSA
debug1: rexec_argv[0]='/usr/local/sbin/sshd'
debug1: rexec_argv[1]='-d'
debug1: rexec_argv[2]='-e'
/usr/lib/dld.sl: Unresolved symbol: getnameinfo (code) from /usr/local/sbin/sshd
Abort(coredump)

I don't have "gcc" on this server, would that be necessary to supply necessary libraries?

Or is there something else I'm missing...

TIA

Rod Hills
There be dragons...
2 REPLIES 2
paolo barila
Valued Contributor
Solution

Re: openssh sshd dies withing unresolved symbol "getnameinfo"

Rodney Hills
Honored Contributor

Re: openssh sshd dies withing unresolved symbol "getnameinfo"

I used the Software Porting and Archive version. I forgot HP software depot had a more stable version.

Thanks,

Rod Hills
There be dragons...