You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Yu-Hui Jin <yu...@gmail.com> on 2006/10/02 04:44:31 UTC
linker couldn't find function when loading up ViewVC
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
RE: linker couldn't find function when loading up ViewVC
Posted by Murli Varadachari <mu...@yahoo-inc.com>.
Yu,
The gss* errors are introduced by the neon modules. If you build subversion
without extracting the dependency package these errors don't occur anymore.
As far as I know the Neon libraries are required only by the svn clients (
for WebDAV support).. So you would need two sets of svn binaries !
Cheers
murli
_____
From: Yu-Hui Jin [mailto:yuhui.jin@gmail.com]
Sent: Monday, October 02, 2006 11:36 AM
To: marc gonzalez-carnicer
Cc: users@subversion.tigris.org
Subject: Re: linker couldn't find function when loading up ViewVC
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 <ca...@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 < <ma...@gmail.com> 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
Re: linker couldn't find function when loading up ViewVC
Posted by Yu-Hui Jin <yu...@gmail.com>.
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 <ca...@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 <yu...@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
Re: linker couldn't find function when loading up ViewVC
Posted by marc gonzalez-carnicer <ca...@gmail.com>.
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 <yu...@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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org