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

Re: Svn co + Segmentation Fault (core dumped)

From: Shumba <joseph.munowenyu_at_vcsu.edu>
Date: Tue, 26 May 2009 07:44:11 -0700 (PDT)

Following Stefan Sperling's advice I was able to solve my issue. The solution
was in ensuring that both Apache and Subversion were using the same version
of APR. As such I complied Subversion 1.5.4 myself rather than just
installing the package from sunfreeware.com. That way I was able to point my
configuration at Apache's apr viz:

./configure --with-apr=/opt/coolstack/apache2/bin/apr-1-config

I also had to hack the configure file and add the line:

LIBS="$LIBS -lintl"

This was on the advice of another user and this solved the problem I was
having with my 'make'. I also created a soft-link for libldap-2.3.so.0 which
solved the file not found error I was having with the 'make install' viz:

# cd /usr/local/lib
# ln -s libldap-2.4.so.2.1.0 libldap-2.3.so.0

So in summary it was:
# gunzip subversion-1.5.4.tar.gz
# tar -xf subversion-1.5.4.tar
# cd subversion-1.5.4

Then add the line LIBS="$LIBS -lintl" at the top of the configure file, say
after commented section:

>>>

## --------------------- ##
## M4sh Initialization. ##
## --------------------- ##

LIBS="$LIBS -lintl

<<<

# ./configure --with-apr=/opt/coolstack/apache2/bin/apr-1-config
# make
# make install

However on another box which I thought was a clone of the first my configure
line had to be:

# ./configure --with-apr=/opt/coolstack/apache2/bin/apr-1-config
--with-apr-util=/opt/coolstack/apache2/bin/apu-1-config
--with-apxs=/opt/coolstack/apache2/bin/apxs --with-neon=/usr/local/neon

Notice I had to specify neon. I was having neon errors on my 'make':

Undefined first referenced
 symbol in file
SSL_CTX_set_client_cert_cb /usr/local/lib/libneon.so
ld: fatal: Symbol referencing errors. No output written to .libs/svn
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `subversion/svn/svn'

To fix this I uninstalled the neon package and compiled it myself viz:

./configure --prefix=/usr/local/neon
make
make install

With all that done the Subversion 1.5.4 install was smooth. Thanks again
Stefan.

-- 
View this message in context: http://www.nabble.com/Svn-co-%2B-Segmentation-Fault-%28core-dumped%29-tp23567307p23724387.html
Sent from the Subversion Users mailing list archive at Nabble.com.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2353820
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-26 16:45:15 CEST

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.