[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SSL is not supported

From: Martin Sebor <sebor_at_roguewave.com>
Date: 2005-07-19 03:41:15 CEST

I was able to overcome these problems by following the steps below.
Hopefully someone can suggest how to simplify this whole process.

I defined these variables in my environment prior to configuring
and installing subversion:

     LDFLAGS=-L/usr/local/openssl-0.9.8
     LIBS=-lcrypto -lssl

(It turns out that the LDFLAGS variable should not be used to
specify additional libraries: LIBS should.)

To overcome subsequent linker errors caused by my OpenSSL not having
been built with thread support (I had originally configured OpenSSL
without any arguments), I reconfigured OpenSSL like so:

     ./config --prefix=/usr/local/openssl-0.9.8 threads zlib shared

I then added OpenSLL to the runtime linker's search path:

     LD_LIBRARY_PATH=/usr/local/openssl-0.9.8/lib

That allowed me to configure, build, and install subversion.
Unfortunately, even after all this svn fails at runtime with
the following error:

$ svn ls https://...
ld.so.1: svn: fatal: relocation error: file
/usr/local/subversion-1.2.1/lib/libneon.so.24: symbol
SSL_load_error_strings: referenced symbol not found

Somehow ld.so.1 is not loading libssl.so early enough (it shows up
after libneon.so on the list of svn's dependencies). I solved this
error by telling the linker to preload the library before any other:

     LD_PRELOAD=libssl.so

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 19 03:43:09 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.