Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: /usr/lib/python2.7/dist-packages/libsvn/_core.x86_64-linux-gnu.so: undefined symbol: svn_relpath__internal_style #304

Closed
robertfetter opened this issue Nov 16, 2022 · 5 comments
Labels
bug Clear defects in the way ViewVC behaves

Comments

@robertfetter
Copy link

Describe the bug
A clear and concise description of what the bug is.
It seems that ViewVC uses a ,so for things. So to get this to work I wrote another cgi to launch things named myviewvc,cgi:
#!/bin/sh
export PYTHONPATH=/usr/lib/python2.7/dist-packages/libsvn
/usr/lib/cgi-bin/viewvc.cgi
Upon running it I get:
ImportError: /usr/lib/python2.7/dist-packages/libsvn/_core.x86_64-linux-gnu.so: undefined symbol: svn_relpath__internal_style
Not good. Any thoughts?
Steps to reproduce the behavior

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
Things should work.
Additional context
Add any other context about the problem here. Consider attaching any helpful screenshots.

@robertfetter robertfetter added the bug Clear defects in the way ViewVC behaves label Nov 16, 2022
@cmpilato
Copy link
Contributor

This seems like a problem with Subversion's python bindings (which ViewVC depends on to do its thing for Subversion repositories), and specifically an issue with the packaging of those bindings on your specific platform. Please raise the issue with that community at https://subversion.apache.org/reporting-issues.html.

@futatuki
Copy link
Collaborator

It seems that /usr/lib/python2.7/dist-packages/libsvn/_core.x86_64-linux-gnu.so in your environment requests older version of libsvn_subr than which of installed.

svn_relpath__internal_style is renamed to svn_relpath__make_internal in r1850611, between Subversion 1.11.0 and 1.12.0.

I guess that you copied (or force install) old package of Subversion Python bindings regardlessly version consistency between shared libraries.

@futatuki
Copy link
Collaborator

I also guess that @robetfetter did unusual operation on installing required softwares for getting ViewVC to work because the packages provided by the distributor is not support it. If it is so, the issue itself is not a problem of Subversion's python bindings, althogh it may be a part of this issue, but getting ViewVC to work. So I'd like to continue this conversation here.

@robertfetter , could you tell us what version of ViewVC do you want to get to work, and what did you do for it in detail, e.g. installed packages (or softwares built and installed from source) with version, if you copied files from other environment, their origins, etc.

@robertfetter
Copy link
Author

Thank you for your quick response. I sent an issue to subverson.

@futatuki
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Clear defects in the way ViewVC behaves
Projects
None yet
Development

No branches or pull requests

3 participants