Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb" (571 Views)
Reply
Occasional Visitor
larryxu
Posts: 5
Registered: ‎07-03-2008
Message 1 of 11 (571 Views)

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.
Honored Contributor
Arunvijai_4
Posts: 4,194
Registered: ‎04-07-2005
Message 2 of 11 (571 Views)

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"
Occasional Visitor
larryxu
Posts: 5
Registered: ‎07-03-2008
Message 3 of 11 (571 Views)

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
Acclaimed Contributor
Dennis Handly
Posts: 25,283
Registered: ‎03-06-2006
Message 4 of 11 (571 Views)

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
Occasional Visitor
larryxu
Posts: 5
Registered: ‎07-03-2008
Message 5 of 11 (571 Views)

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
Honored Contributor
Michael Steele_2
Posts: 4,934
Registered: ‎08-14-2002
Message 6 of 11 (571 Views)

Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"

Are you using apache?
Support Fatherhood - Stop Family Law
Occasional Visitor
larryxu
Posts: 5
Registered: ‎07-03-2008
Message 7 of 11 (571 Views)

Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"

No,I just use subversion on honduras as a client.
Acclaimed Contributor
Dennis Handly
Posts: 25,283
Registered: ‎03-06-2006
Message 8 of 11 (571 Views)

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.
Occasional Visitor
larryxu
Posts: 5
Registered: ‎07-03-2008
Message 9 of 11 (571 Views)

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.
Honored Contributor
Michael Steele_2
Posts: 4,934
Registered: ‎08-14-2002
Message 10 of 11 (571 Views)

Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"

Well, I honestly don't know but I did find a hit from China based upon the error string:

http://translate.google.com/translate?hl=en&sl=zh-CN&u=http://www.subversion.org.cn/bbs/redirect.php...

Note: Translate
Support Fatherhood - Stop Family Law
Honored Contributor
Peter Nikitka
Posts: 1,575
Registered: ‎02-10-2003
Message 11 of 11 (571 Views)

Re: Subversion error "Unresolved symbol: SSL_CTX_set_client_cert_cb"

Hi,

where did you get your subversion SW from?
I got mine ~3 month ago (version 1.5.0 however) for 11.23 from
http://hpux.cs.utah.edu

It did NOT work in the first step, but I found out (which took really some time), that there is a dependency missing:
The free kerberos implementation heimdal-1.0.2

mfG Peter

PS: I tried to send an email to
hpux At connect.org.uk
but the mail came back as undeliverable.
So that dep. is still missing at the HP porting site ...

The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
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.