[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-users
Subject:    undefined symbol: svn_swig_get_application_pool
From:       "Garrett McGrath" <gmcgrath () Princeton ! EDU>
Date:       2006-10-31 17:24:42
Message-ID: B821A7F47C764467B1C60979FFECCF32 () lute
[Download RAW message or body]

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 ?
    import _repos
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

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5744.16384" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=878450617-31102006>This issue is 
starting to drive me a bit batty.&nbsp; So i've built svn with the following 
config commands:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=878450617-31102006>'./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'<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=878450617-31102006>I've also run make 
swig-py and make install-swig-py</DIV></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN 
class=878450617-31102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=878450617-31102006>I've also built neon 
from the dependancy set for svn 1.4 using:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=878450617-31102006>./configure 
--prefix=/usr/local/ --enable-shared --enable-static --with-ssl=openssl 
--with-libs=/usr/local --enable-tests-install --with-libxml2 
--with-expat</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=878450617-31102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=878450617-31102006>ok so this appeared 
to get everything working.&nbsp; I could run svn to check things out on http, 
https, svn, file, etc.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=878450617-31102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=878450617-31102006>Unfortunatly when 
you go into python and enter 'import svn.repos'&nbsp;I get the following error 
(on an asside i get no errors from import svn):</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=878450617-31102006>&gt;&gt;&gt; import 
svn.repos<BR>Traceback (most recent call last):<BR>&nbsp; File "&lt;stdin&gt;", 
line 1, in ?<BR>&nbsp; File "/usr/local/lib/svn-python/svn/repos.py", line 19, 
in ?<BR>&nbsp;&nbsp;&nbsp; from libsvn.repos import *<BR>&nbsp; File 
"/usr/local/lib/svn-python/libsvn/repos.py", line 5, in ?<BR>&nbsp;&nbsp;&nbsp; 
import _repos<BR>ImportError: /usr/local/lib/svn-python/libsvn/_repos.so: 
undefined symbol: svn_swig_get_application_pool<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=878450617-31102006>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).&nbsp; I've setup this system on another system with no 
issues so I'm not sure what's going on here.&nbsp; The server is running centos 
4.3 (we've done a yum upgrade so it may be 4.4 now, not sure 
thou).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=878450617-31102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=878450617-31102006>Any help for this 
issue would be greatly appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=878450617-31102006>-Garrett 
McGrath</DIV></SPAN></FONT></BODY></HTML>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic