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

libsvn_swig_py not linking against the correct SWIG on shared hosting provider

From: Naru <naru_at_gmx.ch>
Date: 2005-07-25 22:56:38 CEST

hello list

I'm trying to build the SWIG bindings, using python 2.3.5 and SWIG
1.3.21 (this version is required for trac)

Everything is peachy except for the fact that the swig libraries link
against the (old) version of SWIG installed on my hosting provider's
machine.

I configure Python like this:
$ ./configure PYTHON=/home/fhofmann/trac/bin/python \
PERL=/home/fhofmann/bin/perl --prefix=/home/fhofmann/trac \
--with-swig=/home/fhofmann/trac/bin/swig

which the script apparently picks up:
...
checking for python2... /home/fhofmann/trac/bin/python
...
checking swig version... 1.3.21
checking for swig library directory... /home/fhofmann/trac/lib/swig1.3
configure: Configuring python swig binding
checking if swig needs -L for its libraries... -L/home/fhofmann/trac/lib

unfortunately afterwards execution of 'trac' fails with the following
error:
ImportError: /home/fhofmann/trac/lib/libsvn_swig_py-1.so.0: undefined
symbol: SWIG_Python_TypeQuery

and indeed, here's the ldd output:
$ ldd ~/trac/lib/libsvn_swig_py-1.*
/home/fhofmann/trac/lib/libsvn_swig_py-1.so.0.0.0:
        libswigpy-1.1.so => /usr/lib/libswigpy-1.1.so (0x4000e000)

can anybody tell me what to modify/what additional parameter to supply?

thanks & cheers
Naru

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 26 21:48:43 2005

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