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

error compiling Subversion: "libsvn_ra_dav-1.so: undefined reference to `OpenSSL_add_all_algorithms'"

From: Reuben Avery <reuben_at_swirl.net>
Date: 2007-09-14 22:17:20 CEST

Hello all!

I am having some trouble here compiling Subversion 1.4.5 on my ISPıs FreeBSD
box and Iım hoping I can get some tips:

Behold the output of the offending line in the Œmakeı:
cd subversion/svn && /usr/local/bin/bash
/usr/home/usr111065066/local/src/subversion-1.4.5/libtool --tag=CC --silent
--mode=link gcc -g -O2 -g -O2 -L/usr/home/usr111065066/local/lib
-L/usr/local/lib -rpath /usr/home/usr111065066/local/lib -o svn add-cmd.o
blame-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o
delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o import-cmd.o info-cmd.o
list-cmd.o lock-cmd.o log-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o
notify.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o
propset-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o
unlock-cmd.o update-cmd.o util.o
-lexpat /usr/home/usr111065066/local/src/subversion-1.4.5/apr/libapr-0.la
-lm -lcrypt
/usr/home/usr111065066/local/src/subversion-1.4.5/neon/src/libneon.la -lintl
libs/libsvn_ra_dav-1.so: undefined reference to `OpenSSL_add_all_algorithms'

My configure proceeded without error.. here is that syntax:
./configure \
--prefix=$HOME/local \
--without-apache \
--without-apxs \
--without-swig \
--with-fsfs \
--with-ssl \

Grepping for SSL in the output of configure yields this:
checking for openssl pkg-config data... gnome-config: not found
checking for library containing SSL_library_init... -lssl
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/opensslv.h usability... yes
checking openssl/opensslv.h presence... yes
checking for openssl/opensslv.h... yes
checking OpenSSL version is >= 0.9.7... no
checking OpenSSL version is >= 0.9.6... yes
configure: SSL support enabled, using OpenSSL (0.9.6 or later)
checking for openssl... /usr/bin/openssl

I included that --with-libs argument after performing a Œfind / -name ³ssl²ı
and that was the only result that looked at all useful.

The contents of
mod_ssl.h ssl_expr_parse.h ssl_util_ssl.h
ssl_expr.h ssl_util_sdbm.h ssl_util_table.h

In addition:
$ /usr/bin/openssl
OpenSSL> version
OpenSSL 0.9.6e 30 Jul 2002

Gosh, if anyone could offer any assistance with this I would be very
grateful. My ISP is essentially of the attitude that ³we donıt support
Subversion, so youıre on your own trying to install it²

Thanks a lot,
Received on Fri Sep 14 22:14:09 2007

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.