/usr/lib/hpux32/dld.so: Unsatisfied data symbol 'gss_nt_service_name' in load module '/usr/bin/ssh' (1233 Views)
Reply
Occasional Advisor
jerish sunny
Posts: 19
Registered: ‎09-24-2009
Message 1 of 9 (1,233 Views)

/usr/lib/hpux32/dld.so: Unsatisfied data symbol 'gss_nt_service_name' in load module '/usr/bin/ssh'

I am trying to do a ssh to another user on the same server.
ssh n040131@localhost
this gives me an error:
/usr/lib/hpux32/dld.so: Unsatisfied data symbol 'gss_nt_service_name' in load module '/usr/bin/ssh'.
Killed

Any help will be great,
Thanks,
Jerish
Respected Contributor
Shinji Teragaito_1
Posts: 212
Registered: ‎12-20-2007
Message 2 of 9 (1,233 Views)

Re: /usr/lib/hpux32/dld.so: Unsatisfied data symbol 'gss_nt_service_name' in load module '/usr/bin/ssh'

Don't your server have /usr/lib/hpux32/gss/libgssapi_krb5.so
or /usr/lib/hpux32/libgssapi_krb5.so ?

I'd recommend you to install KRB5CLIENT:

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=KRB5CLIENT
Occasional Advisor
jerish sunny
Posts: 19
Registered: ‎09-24-2009
Message 3 of 9 (1,233 Views)

Re: /usr/lib/hpux32/dld.so: Unsatisfied data symbol 'gss_nt_service_name' in load module '/usr/bin/ssh'

i am having /usr/lib/hpux32/gss/libgssapi_krb5.so
or /usr/lib/hpux32/libgssapi_krb5.so files in my server. So i guess i need not install KRB5CLIENT.
Valued Contributor
kobylka
Posts: 69
Registered: ‎09-17-2009
Message 4 of 9 (1,233 Views)

Re: /usr/lib/hpux32/dld.so: Unsatisfied data symbol 'gss_nt_service_name' in load module '/usr/bin/ssh'

Hello jerish sunny!


What OS version? There are some krb5 patches for v2 and v3.


What is output of ssh.ldd:

# ldd -rs `which ssh` > ssh.ldd


Look where dld would look for libs and why it can't find some/all of the kerberos libs.


Kind regards,

Kobylka
Occasional Advisor
jerish sunny
Posts: 19
Registered: ‎09-24-2009
Message 5 of 9 (1,233 Views)

Re: /usr/lib/hpux32/dld.so: Unsatisfied data symbol 'gss_nt_service_name' in load module '/usr/bin/ssh'

the OS version is HP-UX B.11.23 U ia64

# ldd -r -s `which ssh` > ssh.ldd
symbol not found: gss_nt_service_name (/usr/bin/ssh)
symbol not found: BN_set_negative (/usr/lib/hpux32/libkrb5.so)
symbol not found: BN_set_negative (/usr/local/lib/hpux32/libhx509.so)
symbol not found: EVP_CIPHER_block_size (/usr/local/lib/hpux32/libhx509.so)
symbol not found: EVP_Cipher (/usr/local/lib/hpux32/libhx509.so)
symbol not found: EVP_CIPHER_key_length (/usr/local/lib/hpux32/libhx509.so)
symbol not found: RSA_generate_key_ex (/usr/local/lib/hpux32/libhx509.so)
symbol not found: EVP_CIPHER_iv_length (/usr/local/lib/hpux32/libhx509.so)

Please find attached the ssh.ldd
Valued Contributor
kobylka
Posts: 69
Registered: ‎09-17-2009
Message 6 of 9 (1,233 Views)

Re: /usr/lib/hpux32/dld.so: Unsatisfied data symbol 'gss_nt_service_name' in load module '/usr/bin/ssh'

Hello Jerish!

Well, I've been looking at the ldd file and I'd like to ask you where you got the ssh, kerberos and heimdal executables/libraries from?

> find library=/usr/local/lib/hpux32/libheimntlm.so; required by /usr/lib/hpux32/libgssapi_krb5.so
/usr/local/lib/hpux32/libheimntlm.so => /usr/local/lib/hpux32/libheimntlm.so


At this point it starts loading lots of libs from /usr/local/lib/hpux32 which I think is not the default path for HP-UX libs.

Maybe software from Porting and Archive Center... ?


Kind regards,

Kobylka
Respected Contributor
Shinji Teragaito_1
Posts: 212
Registered: ‎12-20-2007
Message 7 of 9 (1,233 Views)

Re: /usr/lib/hpux32/dld.so: Unsatisfied data symbol 'gss_nt_service_name' in load module '/usr/bin/ssh'

You need to have the shared libraries listed at the chatr output.

As you are not using HP-UX Secure Shell, you should doublecheck
the run-time dependencies in detail at somewhere from where you
had installed your ssh.
Occasional Visitor
Jack Cashel
Posts: 1
Registered: ‎07-23-2009
Message 8 of 9 (747 Views)

Re: /usr/lib/hpux32/dld.so: Unsatisfied data symbol 'gss_nt_service_name' in load module '/usr/bin/s

We recently added some software from the HP-UX Porting and Archive Centre ( http://hpux.connect.org.uk/) and it broke the native HP-UX ssh.  We're getting the same error that you posted a few years ago.  The suggestions made by other posters could not resolve our issue and I was wondering if you ever got to the bottom of it.  For some reason, /usr/bin/ssh is now using the libraries under /usr/local/lib, which are the libraries that were created by HP-UX Porting and Archive Centre depots.  (This is confirmed by running ldd -d /usr/bin/ssh.)  We did the same installation on a couple of other hosts and did not have this problem.  Any information that you could provide would be much appreciated.

 

# ldd -d /usr/bin/ssh


/usr/bin/ssh:
libcrypto.so.1 => /usr/lib/hpux32/libcrypto.so.1
libnsl.so.1 => /usr/lib/hpux32/libnsl.so.1
libxnet.so.1 => /usr/lib/hpux32/libxnet.so.1
libsec.so.1 => /usr/lib/hpux32/libsec.so.1
libgssapi_krb5.so => /usr/lib/hpux32/libgssapi_krb5.so
libkrb5.so.1 => /usr/lib/hpux32/libkrb5.so.1
libpthread.so.1 => /usr/lib/hpux32/libpthread.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
libxti.so.1 => /usr/lib/hpux32/libxti.so.1
libxti.so.1 => /usr/lib/hpux32/libxti.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
/usr/local/lib/hpux32/libheimntlm.so => /usr/local/lib/hpux32/libheimntlm.so
/usr/local/lib/hpux32/libkrb5.so => /usr/local/lib/hpux32/libkrb5.so
/usr/local/lib/hpux32/libheimbase.so => /usr/local/lib/hpux32/libheimbase.so
/usr/local/lib/hpux32/libhx509.so => /usr/local/lib/hpux32/libhx509.so
/usr/local/lib/hpux32/libwind.so => /usr/local/lib/hpux32/libwind.so
/usr/local/lib/hpux32/libheimsqlite.so => /usr/local/lib/hpux32/libheimsqlite.so
/usr/local/lib/hpux32/libasn1.so => /usr/local/lib/hpux32/libasn1.so
/usr/local/lib/hpux32/libcom_err.so => /usr/local/lib/hpux32/libcom_err.so
libcrypto.so => /usr/local/lib/hpux32/libcrypto.so
/usr/local/lib/hpux32/libroken.so => /usr/local/lib/hpux32/libroken.so
libc.so.1 => /usr/lib/hpux32/libc.so.1
libk5crypto.so.1 => /usr/lib/hpux32/libk5crypto.so.1
libcom_err.so.1 => /usr/lib/hpux32/libcom_err.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
/usr/local/lib/hpux32/libkrb5.so => /usr/local/lib/hpux32/libkrb5.so
/usr/local/lib/hpux32/libheimbase.so => /usr/local/lib/hpux32/libheimbase.so
/usr/local/lib/hpux32/libhx509.so => /usr/local/lib/hpux32/libhx509.so
/usr/local/lib/hpux32/libasn1.so => /usr/local/lib/hpux32/libasn1.so
/usr/local/lib/hpux32/libwind.so => /usr/local/lib/hpux32/libwind.so
/usr/local/lib/hpux32/libheimsqlite.so => /usr/local/lib/hpux32/libheimsqlite.so
/usr/local/lib/hpux32/libcom_err.so => /usr/local/lib/hpux32/libcom_err.so
/usr/local/lib/hpux32/libroken.so => /usr/local/lib/hpux32/libroken.so
/usr/local/lib/hpux32/libheimbase.so => /usr/local/lib/hpux32/libheimbase.so
/usr/local/lib/hpux32/libhx509.so => /usr/local/lib/hpux32/libhx509.so
/usr/local/lib/hpux32/libasn1.so => /usr/local/lib/hpux32/libasn1.so
/usr/local/lib/hpux32/libwind.so => /usr/local/lib/hpux32/libwind.so
/usr/local/lib/hpux32/libheimsqlite.so => /usr/local/lib/hpux32/libheimsqlite.so
/usr/local/lib/hpux32/libcom_err.so => /usr/local/lib/hpux32/libcom_err.so
/usr/local/lib/hpux32/libroken.so => /usr/local/lib/hpux32/libroken.so
/usr/local/lib/hpux32/libasn1.so => /usr/local/lib/hpux32/libasn1.so
/usr/local/lib/hpux32/libwind.so => /usr/local/lib/hpux32/libwind.so
/usr/local/lib/hpux32/libcom_err.so => /usr/local/lib/hpux32/libcom_err.so
/usr/local/lib/hpux32/libroken.so => /usr/local/lib/hpux32/libroken.so
/usr/local/lib/hpux32/libroken.so => /usr/local/lib/hpux32/libroken.so
/usr/local/lib/hpux32/libcom_err.so => /usr/local/lib/hpux32/libcom_err.so
/usr/local/lib/hpux32/libcom_err.so => /usr/local/lib/hpux32/libcom_err.so
/usr/local/lib/hpux32/libroken.so => /usr/local/lib/hpux32/libroken.so
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
symbol not found: gss_nt_service_name (/usr/bin/ssh)
#

Acclaimed Contributor
Dennis Handly
Posts: 25,049
Registered: ‎03-06-2006
Message 9 of 9 (736 Views)

Re: dld.so: Unsatisfied data symbol 'gss_nt_service_name' in load module /usr/bin/ssh

>it broke the native HP-UX ssh.

 

Are you sure this is HP-UX's ssh?

 

>/usr/local/lib/hpux32/libheimntlm.so => /usr/local/lib/hpux32/libheimntlm.so
>/usr/local/lib/hpux32/libkrb5.so => /usr/local/lib/hpux32/libkrb5.so

 

I don't see these on my ssh: HP-UX Secure Shell-A.05.80.004

 

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.