Operating System - HP-UX
1754376 Members
3161 Online
108813 Solutions
New Discussion юеВ

Unresolved symbol: getnameinfo (code) sshd

 
Chris Frangandonis
Regular Advisor

Unresolved symbol: getnameinfo (code) sshd

Hi All,

Below is a error mesg which I have no idea on how to resolve. I think that I could be missing some lib.

# /usr/local/sbin/sshd -d
debug1: sshd version OpenSSH_4.4p1
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'
/usr/lib/dld.sl: Unresolved symbol: getnameinfo (code) from /usr/local/sbin/sshd
Abort(coredump)


# uname -a
HP-UX testfc B.11.00 U 9000/800 101271721 unlimited-user license

Please help
Chris
8 REPLIES 8
Tommy_6
Regular Advisor

Re: Unresolved symbol: getnameinfo (code) sshd

Was this version of SSH installed with the OS, or did you install it yourself?
Chris Frangandonis
Regular Advisor

Re: Unresolved symbol: getnameinfo (code) sshd

Hi Tommy,

I installed it myself.

Chris
Tommy_6
Regular Advisor

Re: Unresolved symbol: getnameinfo (code) sshd

Did you install it from a depot? If so, please make sure you used the right one for you OS.
Tommy_6
Regular Advisor

Re: Unresolved symbol: getnameinfo (code) sshd

I checked the HPUX porting site and it seems they only have the depots for 11i. You are running 11.0. I would suggest downloading the Source Code and compiling it.

http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/openssh-4.4p1/

Hope this helps!!!
Tommy_6
Regular Advisor

Re: Unresolved symbol: getnameinfo (code) sshd

By the way, you can get the latest version (4.5p1) from the OpenSSH site.

http://www.openssh.com/portable.html
Dennis Handly
Acclaimed Contributor

Re: Unresolved symbol: getnameinfo (code) sshd

While there is a patch to 11.11 to add getnameinfo to libc, I don't think there is one for 11.00.
Chris Frangandonis
Regular Advisor

Re: Unresolved symbol: getnameinfo (code) sshd

Hi Tommy,Dennis,

Thanks to you both.

Can I use the 4.4p1 for 11.11 and compile it on 11.00?

Chris
Dennis Handly
Acclaimed Contributor

Re: Unresolved symbol: getnameinfo (code) sshd

>Can I use the 4.4p1 for 11.11 and compile it on 11.00?

This will only work if there is conditional compilation that replaces the getnameinfo call by something else.