Operating System - HP-UX
1748242 Members
4054 Online
108759 Solutions
New Discussion юеВ

Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"

 
larryxu
New Member

Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"

We are working in subversion with SSL Certificate Authorization.
Recently,The subversion doesn't work now and got below error message
svn checkout http/temip-scm-sandbox.csd200a.com/svn/temip-scm-sandbox/SQM/trunk/V142L01P01 --ninteractive
/usr/lib/dld.sl: Unresolved symbol: SSL_CTX_set_client_cert_cb (code) from //local/lib/libneon.sl
ABORT instruction (core dumped)
I used command nm to investigate
nm /usr/local/lib/libneon.sl|grep SSL_CTX_set_client_cert_cb
SSL_CTX_set_client_cert_cb| |undef |code |
SSL_CTX_set_client_cert_cb| 142152|uext |stub |

uname -a
HP-UX honduras B.11.11 U 9000/800 766977641 unlimited-user license
Could you help me on it?
Thank you very much.
10 REPLIES 10
Arunvijai_4
Honored Contributor

Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"

It looks like you don't have OpenSSL installed on your system. Just check by running # swlist |grep -i ssl

If you dont have, you can download it from software.hp.com
"A ship in the harbor is safe, but that is not what ships are built for"
larryxu
New Member

Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"

Thank for your help,but I am sure that openssl have been install in the server.
[root_honduras]/> swlist |grep -i ssl
neon 0.26.4 neon shared libs with SSL support
openssl 0.9.8g openssl
Dennis Handly
Acclaimed Contributor

Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"

>I used command nm to investigate
SSL_CTX_set_client_cert_cb|undef |code |
SSL_CTX_set_client_cert_cb|uext |stub |

This just says the same thing as the dld error message, that symbol is missing.

If this symbol is defined in openssl as Arunvijai says, you could search more shlibs:
nm -pxAN /usr/lib/lib* /usr/local/lib/lib* | grep SSL_CTX_set_client_cert_cb
larryxu
New Member

Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"

Got this result by commands nm

nm -pxAN /usr/lib/lib* /usr/local/lib/lib* | grep SSL_CTX_set_client_cert_cb

/usr/local/lib/libneon.a:0x00000000 U SSL_CTX_set_client_cert_cb
/usr/local/lib/libneon.sl:0x00022b48 T SSL_CTX_set_client_cert_cb
/usr/local/lib/libneon.sl:0x00000000 U SSL_CTX_set_client_cert_cb
/usr/local/lib/libssl.a:0x00001640 T SSL_CTX_set_client_cert_cb

But I don't know what meaning of this result.
Could you help me explain it?Thanks
Michael Steele_2
Honored Contributor

Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"

Are you using apache?
Support Fatherhood - Stop Family Law
larryxu
New Member

Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"

No,I just use subversion on honduras as a client.
Dennis Handly
Acclaimed Contributor

Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"

>Got this result by commands nm
/usr/local/lib/libneon.a:U SSL_CTX_set_client_cert_cb
/usr/local/lib/libneon.sl:U
/usr/local/lib/libssl.a:T
>But I don't know what meaning of this result.

This says that symbol is an unsat in libneon and defined in libssl.a. Do you have a shlib version of libssl.sl?
If you can rebuild svn, you need to link with -lssl.
larryxu
New Member

Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"

I only know the version of opessl is 0.9.8g
and I got the binary files of SVN 1.46 to install on this server.That is
subversion-1.4.6-hppa-11.11.depot.gz.
Michael Steele_2
Honored Contributor

Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"