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

linking problem in swig-py

From: Brian Eberman <beberman_at_courseadvisor.com>
Date: 2007-05-10 12:46:40 CEST

We are trying to upgrade to the new development version of trac 0.11dev.
 
In doing this we rebuilt a Centos 4 machine so that it was upgraded by a
source install of:
Python-2.5.1, subversion 1.2.3, swig 1.3.31, mod_python 3.3.1, apache 2.2.4.

 
We configured subversion by doing:
./configure --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2
--with-python=/usr/local/lib/python2.5
 
Both subversion and swig-py compile just fine. Trac is up working on
Apache. Python 2.5 is the installed python and the PYTHONPATH is properly
set. However trac says that it can't talk to subversion and the
configuration is wrong.
 
When I tracked this down I found I found the problem is that swig-py can't
be loaded.
 
When tracking this down by running in python:
 
from svn import core

I got the error that the function SWIG_Python_ConvertPtr isn't defined.
Python is loading the library libsvn_swig_py-1.a because we did a
LD_DEBUG=files to see that it is being loaded. However nm shows that this
function and all the other functions defined in :

"python/precommon.swg"

and built in swigutil_py.o are static to the library because SWIGRUNTIME is
defined as static.

Any help?

-Brian Eberman

beberman@courseadvisor.com

 
 
Received on Fri May 11 06:31:18 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.