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

Re: linker couldn't find function when loading up ViewVC

From: Yu-Hui Jin <yuhui.jin_at_gmail.com>
Date: 2006-10-02 20:35:55 CEST

I have install subversion 1.4.0, the latest release at:

http://subversion.tigris.org/servlets/NewsItemView?newsItemID=1685

One thing maybe worth mentioning is -- I first compiled Subversion code and
it works well. After reading the INSTALL file in both ViewVC and Subversion,
I compiled Subversion again, to generate the Python Bindings. Both
compilation seem to be fine, no errors shown. And after that, I redirect
the Python Binding module path to the file within ViewVC's module directory
as is required in the INSTALL.

I then ran the python's built-in web server, then the errors are seen.

thanks,
Yuhui

On 10/2/06, marc gonzalez-carnicer <carnicer.lists@gmail.com> wrote:
>
> which version of subversion are you using on the server
> side? the viewVC README states that it needs a subversion
> version >= 1.2.0
>
>
>
>
> 2006/10/2, Yu-Hui Jin <yuhui.jin@gmail.com>:
> > Hi, there,
> >
> > I installed subversion with swig, and viewVC. Having configed the
> > viewvc.conf, I tried to use the python standalone web server to browse
> the
> > subversion repository. However, the first time I loaded the URL
> > http://localhost:7467/viewvc in my browser, I got the following message:
> An
> > Exception Has Occurred Python Traceback
> >
> > Traceback (most recent call last):
> > File "/opt/apps/viewvc-1.0.2/lib/viewvc.py", line 3629, in main
> > request.run_viewvc()
> > File "/opt/apps/viewvc-1.0.2/lib/viewvc.py", line 253, in run_viewvc
> >
> >
> > import vclib.svn
> > File "/opt/apps/viewvc-1.0.2/lib/vclib/svn/__init__.py", line 25, in ?
> > from svn import fs, repos, core, delta
> > File "/usr/local/lib/svn-python/svn/fs.py", line 19, in ?
> >
> >
> > from libsvn.fs import *
> > File "/usr/local/lib/svn-python/libsvn/fs.py", line 5, in ?
> > import _fs
> > ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0: undefined symbol:
> > gss_delete_sec_context
> >
> >
> > I refreshed the browse page, then every time I got the following error
> > message instead:
> > An Exception Has Occurred Python Traceback
> >
> > Traceback (most recent call last):
> > File "/opt/apps/viewvc-1.0.2/lib/viewvc.py", line 3629, in main
> > request.run_viewvc()
> > File "/opt/apps/viewvc-1.0.2/lib/viewvc.py", line 254, in run_viewvc
> >
> >
> > self.repos = vclib.svn.SubversionRepository(self.rootname,
> > AttributeError: 'module' object has no attribute 'SubversionRepository'
> >
> > I also checked by in the interactive python mode to "import svn.repos ",
> it
> > gave me similar error as the first message:
> >
> > >>> 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/libsvn_ra_dav-1.so.0: undefined symbol:
> > gss_delete_sec_context
> > >>>
> >
> > I posted my question to viewVC mailing list, and was suggest this is a
> build
> > problem with Subversion's python binding, etc. not a viewVC issue.
> >
> > So anyone has similar experience? what could be the problem? Any
> > suggestions would be much appreciated!
> >
> >
> > --
> > Regards,
> >
> > -Hui
> >
> >
>

-- 
Regards,
-Hui
Received on Mon Oct 2 20:36:34 2006

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.