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

Re: possible bug: undefined symbol: SSL_shutdown

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-10-06 22:43:06 CEST

On 10/8/06, Sascha Grossenbacher <saschagros@bluewin.ch> wrote:
> Hi
>
> I think I have found a bug in subversion 1.4.0 in combination with Trac
> (0.9.6). If I want to see the timeline in Trac, I'm getting the
> following error:
> --
> /usr/local/subversion/1.4.0/lib/libsvn_ra_dav-1.so.0: undefined symbol:
> SSL_shutdown
> Python traceback
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/trac/web/cgi_frontend.py", line
> 130, in run
> dispatch_request(req.path_info, req, env)
> File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in
> dispatch_request
> dispatcher.dispatch(req)
> File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in
> dispatch
> resp = chosen_handler.process_request(req)
> File "/usr/lib/python2.4/site-packages/trac/Timeline.py", line 140, in
> process_request
> filters)
> File
> "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py",
> line 108, in get_timeline_events
> repos = self.env.get_repository()
> File "/usr/lib/python2.4/site-packages/trac/env.py", line 155, in
> get_repository
> from trac.versioncontrol.svn_fs import SubversionRepository
> File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py",
> line 25, in ?
> from svn import fs, repos, core, delta
> File "/usr/lib/python2.4/site-packages/svn/fs.py", line 19, in ?
> from libsvn.fs import *
> File "/usr/lib/python2.4/site-packages/libsvn/fs.py", line 5, in ?
> import _fs
> ImportError: /usr/local/subversion/1.4.0/lib/libsvn_ra_dav-1.so.0:
> undefined symbol: SSL_shutdown
> --
>
> configure
> ./configure --prefix=/usr/local/subversion/1.4.0 \
> --with-apxs=/usr/local/apache/current/bin/apxs \
> --with-apr=/usr/local/apache/current \
> --with-apr-util=/usr/local/apache/current \
> --with-ssl \
> --with-zlib
>
> When I change Makefile.in between configure and make, and add -lssl to
> the line LIBS: -lz, everything works just fine. With svn 1.3.x, this was
> not necessary

The problem (and nobody is entirely clear why this has changed) is
that Neon is defaulting to building static libraries, and the
dependency on libssl that neon has doesn't get carried through to
svn's build when it's built statically. You can avoid this by
explicitly passing --enable-shared to configure and rebuilding.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 6 22:43:42 2006

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.