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

Re: undefined symbol: svn_swig_get_application_pool

From: Russ <rsivak_at_istandfor.com>
Date: 2006-11-01 04:43:52 CET

The latest version of svn seems to be a pain to build on the RedHat based systems. I see you have neon configured properly with static and shared libs. This was my problem when I tried compiling it. I didn't have to use disable-neon-version-check' '--disable-mod-activation' when compiling though.. Are you maybe using an incompatible version of neon? What version of pyhon is it linking against? I don't think svn will work with 2.5, and I had several versions installed on mine and had to specify the python flags.

Basically check the versions you're using and make sure that they're supported. I've never seen your error though.

Sent wirelessly via BlackBerry from T-Mobile.

-----Original Message-----
From: "Garrett McGrath" <gmcgrath@Princeton.EDU>
Date: Tue, 31 Oct 2006 12:24:42
Subject: undefined symbol: svn_swig_get_application_pool

This issue is starting to drive me a bit batty.  So i've built svn with the following config commands:
'./configure' '--prefix=/usr/local' '--with-ssl' '--with-swig=/usr/local/bin/swig' '--with-apxs=/usr/local/apache2/bin/apxs' '--with-apr-config=/usr/local/apache2/bin/apr-1-config' '--with-neon=/usr/local' '--disable-neon-version-check' '--disable-mod-activation'
I've also run make swig-py and make install-swig-py
I've also built neon from the dependancy set for svn 1.4 using:
./configure --prefix=/usr/local/ --enable-shared --enable-static --with-ssl=openssl --with-libs=/usr/local --enable-tests-install --with-libxml2 --with-expat
ok so this appeared to get everything working.  I could run svn to check things out on http, https, svn, file, etc.
Unfortunatly when you go into python and enter 'import svn.repos' I get the following error (on an asside i get no errors from import svn):
>>> import svn.repos
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/svn-python/svn/repos.py", line 19, in ?
    from libsvn.repos import *
  File "/usr/local/lib/svn-python/libsvn/repos.py", line 5, in ?
ImportError: /usr/local/lib/svn-python/libsvn/_repos.so: undefined symbol: svn_swig_get_application_pool
I've tried everything I can think of including symbolic links for the svn and libsvn folder in the site-packages area to no avail but really need to get this fixed so I can get a web respository browser up and running (thru the trac project manager system by edgewall).  I've setup this system on another system with no issues so I'm not sure what's going on here.  The server is running centos 4.3 (we've done a yum upgrade so it may be 4.4 now, not sure thou).
Any help for this issue would be greatly appreciated.
-Garrett McGrath
Received on Wed Nov 1 04:44:53 2006

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