Probably the solution is to rebuild pysvn from source against your
hand-installed subversion.

-David



On Wed, Sep 22, 2010 at 10:11 AM, Jamie <jgwat...@teldio.com> wrote:
> I have a Centos 5.1 system which was setup with Reviewboard 1.0.9 and
> Subversion 1.4.1. I recently had to upgrade to subversion 1.6.12, I
> had to do a source install as 1.6.12 was not in the Centos Repos. This
> in turn broke Trac and Reviewboard. To fix trac all I needed to do was
> build the swig_py bindings. The error full error is enclosed below, I
> do however have the file that reviewboard says I dont have,
> libsvn_client-1.so.0
>
> "
> [r...@am]# ldd `which svn` | grep -i libsvn_client-1
>        libsvn_client-1.so.0 => /usr/local/lib/libsvn_client-1.so.0
> (0x00452000)
> "
>
> The full error:
>
> Environment:
>
> Request Method: GET
> Request URL: /reviewboard/r/140/
> Django Version: 1.2.1
> Python Version: 2.4.3
> Installed Applications:
> ['django.contrib.admin',
>  'django.contrib.auth',
>  'django.contrib.contenttypes',
>  'django.contrib.markup',
>  'django.contrib.sites',
>  'django.contrib.sessions',
>  'djblets.datagrid',
>  'djblets.feedview',
>  'djblets.siteconfig',
>  'djblets.util',
>  'djblets.webapi',
>  'reviewboard.accounts',
>  'reviewboard.admin',
>  'reviewboard.changedescs',
>  'reviewboard.diffviewer',
>  'reviewboard.iphone',
>  'reviewboard.reports',
>  'reviewboard.reviews',
>  'reviewboard.scmtools',
>  'reviewboard.webapi',
>  'django_evolution']
> Installed Middleware:
> ('django.middleware.gzip.GZipMiddleware',
>  'django.middleware.common.CommonMiddleware',
>  'django.middleware.doc.XViewMiddleware',
>  'django.middleware.http.ConditionalGetMiddleware',
>  'django.middleware.locale.LocaleMiddleware',
>  'django.contrib.sessions.middleware.SessionMiddleware',
>  'django.contrib.auth.middleware.AuthenticationMiddleware',
>  'djblets.siteconfig.middleware.SettingsMiddleware',
>  'reviewboard.admin.middleware.LoadSettingsMiddleware',
>  'djblets.log.middleware.LoggingMiddleware',
>  'reviewboard.admin.middleware.CheckUpdatesRequiredMiddleware')
>
>
> Traceback:
> File "/usr/lib/python2.4/site-packages/Django-1.2.1-py2.4.egg/django/
> core/handlers/base.py" in get_response
>  100.                     response = callback(request,
> *callback_args, **callback_kwargs)
> File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.9-py2.4.egg/
> reviewboard/accounts/decorators.py" in _check
>  25.             return login_required(view_func)(*args, **kwargs)
> File "/usr/lib/python2.4/site-packages/Djblets-0.6.3-py2.4.egg/djblets/
> auth/util.py" in _checklogin
>  46.             return view_func(request, *args, **kwargs)
> File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.9-py2.4.egg/
> reviewboard/reviews/views.py" in review_detail
>  217.     response = render_to_response(template_name,
> RequestContext(request, {
> File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.9-py2.4.egg/
> reviewboard/diffviewer/forms.py" in __init__
>  44.         if
> self.repository.get_scmtool().get_diffs_use_absolute_paths():
> File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.9-py2.4.egg/
> reviewboard/scmtools/models.py" in get_scmtool
>  43.         return cls(self)
> File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.9-py2.4.egg/
> reviewboard/scmtools/svn.py" in __init__
>  49.         import pysvn
> File "/usr/lib/python2.4/site-packages/pysvn/__init__.py" in ?
>  99.     import _pysvn_2_4
>
> Exception Type: ImportError at /reviewboard/r/140/
> Exception Value: libsvn_client-1.so.0: cannot open shared object file:
> No such file or directory
>
> Simply issuing "yum install subversion" is not possible as that would
> put me back to subversion 1.4 which I do not want. Please suggest any
> ways to fix this.
>
>
> Thanks,
>
> Jamie
>
> --
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to