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

Re: Python bindings/ViewCVS/Swig trouble

From: Ben Reser <ben_at_reser.org>
Date: 2004-04-20 20:51:37 CEST

On Tue, Apr 20, 2004 at 12:49:16PM +0000, Johannes Fahrenkrug wrote:
> Hi everyone,
>
> I am running a Subversion server on Solaris 2.8. I was running a
> version 1.0.1 till this morning; now I'm running a version 1.0.2.
> I tried Swig 1.3.21, but had troubles with it (didn't build
> libswigpy.so), so I switched back to Swig 1.3.19.
> And I am using a viewcvs1.0-dev CVS build.
> After I set everything up, I get this error when I try to connect to
> my viewcvs server:
>
> An Exception Has Occurred
> Python Traceback
>
> Traceback (most recent call last):
> File "/usr/local/viewcvs/lib/viewcvs.py", line 2487, in main
> request.run_viewcvs()
> File "/usr/local/viewcvs/lib/viewcvs.py", line 256, in run_viewcvs
> import vclib.svn
> File "/usr/local/viewcvs/lib/vclib/svn/__init__.py", line 27, in ?
> from svn import fs, repos, core, delta
> File "/usr/local/lib/svn-python/svn/fs.py", line 27, in ?
> import libsvn.fs
> File "/usr/local/lib/svn-python/libsvn/fs.py", line 5, in ?
> import _fs
> ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error:
> file /usr/local/lib/python2.3/site-packages/libsvn/_fs.so: symbol
> SWIG_Python_ConvertPtr: referenced symbol not found
>
> I have no idea anymore what to do.
> Can someone please help me fix this problem?

This looks like you have the swig executable installed from 1.3.21 while
having the 1.3.19 runtimes installed. See the documentation in
subversion/bindings/INSTALL on how to install SWIG. Note the:
    * run 'make && make runtime && make install && make install-runtime'
line.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 20 20:53:23 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.