Published using Google Docs
Error message : libexpat.so: could not read symbols. How to fix it?
Updated automatically every 5 minutes

If you found below errors.

  1. /usr/lib/libexpat.so: could not read symbols: File in wrong format

collect2: ld returned 1 exit status

make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1

Sorry, cannot "make" subversion.

  1. Warning: Can't synchronize with the repository (Unsupported version control system "svn": "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../libsvn_ra_svn-1.so.0: undefined symbol: svn_compat_wrap_file_rev_handler" )

  1. ImportError:

/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../libsvn_ra_neon-1.so.0:

undefined symbol: svn_log_changed_path2_create

  1. sqlite.so

/usr/bin/ld: skipping incompatible /usr/lib/libsqlite3.so when searching for -lsqlite3

/usr/bin/ld: skipping incompatible /usr/lib/libsqlite3.so when searching for -lsqlite3

Please fix it using below instruction.

  1. backup old lib:

mv /usr/lib/libexpat.so /usr/lib/libexpat.so.bak

  1. find libexpat.so.0 in path below :

ll /usr/lib64/libexpat.so.0

ll /usr/local/lib64/libexpat.so.0

ll /lib64/libexpat.so.0

  1. create link to path that you found on step 2 (select only one command) :

ln -s /usr/lib64/libexpat.so.0 /usr/lib/libexpat.so

ln -s /usr/local/lib64/libexpat.so.0 /usr/lib/libexpat.so

ln -s /lib64/libexpat.so.0 /usr/lib/libexpat.so

  1. run installer again

perl /root/rvadmin/installsubversion.pl

If still have problem, you need to do the same things with the following files.

libsvn_client-1.so

libsvn_delta-1.so

libsvn_diff-1.so

libsvn_fs-1.so

libsvn_fs_base-1.so

libsvn_fs_fs-1.so

libsvn_ra-1.so

libsvn_ra_dav-1.so

libsvn_ra_local-1.so

libsvn_ra_svn-1.so

libsvn_repos-1.so

libsvn_subr-1.so

libsvn_swig_perl-1.so

libsvn_swig_py-1.so

libsvn_wc-1.so