By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,846 Members | 1,872 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,846 IT Pros & Developers. It's quick & easy.

HELP Python Libraries not found

P: 1
why do i receive this error where trying to run the mailer python script?

# ./mailer.py commit /repositories/pbuse_svn 10 mailer.conf
Traceback (most recent call last):
File "./mailer.py", line 41, in <module>
import svn.fs
File "/usr/local/lib/svn-python/svn/fs.py", line 19, in <module>
from libsvn.fs import *
File "/usr/local/lib/svn-python/libsvn/fs.py", line 29, in <module>
import core
File "/usr/local/lib/svn-python/libsvn/core.py", line 5, in <module>
import _core
ImportError: ld.so.1: python: fatal: relocation error: file /usr/local/lib/python2.5/site-packages/libsvn/_core.so: symbol svn_dirent_dup: referenced symbol not found


because it cant find my phython libraries?

i did a

echo /usr/local/lib/svn-python > /usr/local/lib/python2.5/site-packages/svn.pth

what else do i need to do?
i previously had this problem because i didnt clean up earlier version of swig.
on a new machine starting from scratch i installed the python2.5 package i found on sunfreeware. then compiled the swig source code. and finally compiled my subversion source code. all without problems. why am i still getting this error ??
Nov 14 '06 #1
Share this Question
Share on Google+
1 Reply


bartonc
Expert 5K+
P: 6,596
ImportError: ld.so.1: python: fatal: relocation error: file /usr/local/lib/python2.5/site-packages/libsvn/_core.so: symbol svn_dirent_dup: referenced symbol not found
is not a python library issue. Otherwise it would say something like "couldn't find module".
Check out the swig users group mail list at
sourceforge.net
for relocation error info. Thanks for posting here. Come back soon,
Barton
Nov 14 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.