Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#7943 closed defect (invalid)

64-bit libsvn issue? Unsupported version control system "svn": "/usr/lib/python2.4/site-packages/libsvn/_fs.so: wrong ELF class: ELFCLASS32"

Reported by: Evan Owned by:
Priority: normal Milestone:
Component: general Version: none
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I realize a similar question has been asked but I haven't seen anything with this specific error in it:

Unsupported version control system "svn": "/usr/lib/python2.4/site-packages/libsvn/_fs.so: wrong ELF class: ELFCLASS32" 

The steps I took to install trac were:

  • Installed CentOS 5.2 x86_64, kernel 2.6.18-92.1.22.el5
  • Imported my SVN repository from our old server
  • Configured Apache so we can properly checkin/checkout
  • yum install python-setuptools to get easy_install
  • Installed trac via easy_install -Z http://svn.edgewall.org/repos/trac/branches/0.11-stable

Swig is apparently installed:

# rpm -qa subversion swig python
python-2.4.3-21.el5
subversion-1.4.2-2.el5
subversion-1.4.2-2.el5
swig-1.3.29-2.el5

Since the error mentions ELFCLASS32 my first guess is that this is some sort of 32/64-bit problem.

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 15 years ago

Resolution: invalid
Status: newclosed

Sorry, this is an InstallationIssue.

You installed the wrong package for the subversion python bindings (the one you have is 32-bits while your Python version is expecting a 64-bits one). Try rpm -qf /usr/lib/python2.4/site-packages/libsvn/_fs.so to find out which package that was. Presumably you also have a 32-bit package for Subversion, that should be changed to a 64-bit version as well.

You could ask on the Trac MailingList for more help or, better, on CentOS support channels.

You could also rebuild Subversion and the bindings yourself, see TracSubversion#BuildingSubversion.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.