[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-18 20:39:51 CEST

Martin Sebor wrote:
> Ben Collins-Sussman wrote:
>
>> Martin Sebor wrote:
>>
>>> I'm wondering if someone could help explain what I might be doing
>>> wrong building subversion-1.2.1. I have OpenSSL 0.9.8 (archives
>>> only) installed in /usr/local/openssl-0.9.8 on a relatively clean
>>> Solaris 9 box. I configured svn with the command below:
>>>
>>> ./configure --with-ssl=/usr/local/openssl-0.9.8 \
>>> --with-libs=/usr/local/openssl-0.9.8 \
>>> --prefix=/usr/local/subversion-1.2.1
>>
>>
>>
>>
>> Neon's configure script wants simply "--with-ssl", not
>> "--with-ssl=/path". Pass "--with-ssl" to subversion's configure, and
>> the option will be automatically passed down to neon's configure.
>
>
> I started with that but configure failed due to the error below.
> Specifying --with-ssl=/usr/local/openssl-0.9.8 let me get around
> that error but, ovbviously, didn't have desired effect.

Here's some additional information:

I reproduced the same problem on a Linux box with OpenSSL installed
in /package/1/ia64/ssl/openssl/0.9.7g (i.e., not in /usr/local/lib),
so it's not specific to the platform but rather to the way OpenSSL
is installed.

It looks to me like the configure test for SSL_library_init is doing
the wrong thing: first, while it passes -L/usr/local/openssl-0.9.8/lib
it fails to specify the openssl libraries on the linker line.

I tried to help it by setting LDFLAGS like so:
export LDFLAGS="-L/usr/local/openssl-0.9.8/lib -lcrypto -lssl"
but that didn't help because the script specifies LDFLAGS on the
linker line *before* the source file instead of after it. Here's
the relevant portion of the cript:

configure:15528: checking for library containing SSL_library_init
configure:15557: gcc -o conftest -g -O2
-I/usr/local/openssl-0.9.8/include -L
/usr/local/openssl-0.9.8/lib -L/usr/local/openssl-0.9.8/lib -lcrypto
-lssl conftest.c >&5
Undefined first referenced
  symbol in file
SSL_library_init /var/tmp//ccahNJqr.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:15563: $? = 1
configure: failed program was:
| /* confdefs.h. */

Martin

>
> checking for library containing RSA_new... -lcrypto
> checking for library containing SSL_library_init... not found
> configure: error: could not find library containing SSL_library_init
> configure failed for neon
>
> Do you have any other suggestions on how to proceed?
>
> Thanks
> Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 18 20:40:32 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.