I emerged dev-db/subversion-1.5.5 and dev-db/subversion-1.6.3 on a shared linux server with subversion client 1.4.2 already installed. After successful installation, svn --version fails with: svn: Mismatched RA version for 'svn': found 1.5.5, expected 1.4.2 Reproducible: Always Steps to Reproduce: 1. install subversion 1.4.2 as root in /usr/bin 2. /usr/bin/svn --version reports: svn, version 1.4.2 3. $ emerge dev-db/subversion-1.5.5 # or emerge dev-db/subversion-1.6.3 4. $ svn --version Actual Results: svn: Mismatched RA version for 'svn': found 1.5.5, expected 1.4.2 Expected Results: svn, version 1.5.5 $ emerge --info Portage 2.2.00.13683-prefix (prefix/linux/amd64, gcc-4.2.4, unavailable, 2.6.18-128.1.14.el5 x86_64) ================================================================= System uname: Linux-2.6.18-128.1.14.el5-x86_64-Intel-R-_Xeon-R-_CPU_E5345_@_2.33GHz-with-redhat-5.3-Torino Timestamp of tree: Sat, 11 Jul 2009 07:05:00 +0000 app-shells/bash: 4.0_p24 dev-lang/python: 2.6.2-r01.1 sys-devel/autoconf: 2.63-r01.1 sys-devel/automake: 1.10.2-r00.1, 1.11 sys-devel/binutils: 2.19.51.0.10 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6a-r00.1 ACCEPT_KEYWORDS="~amd64-linux" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/home/msyang/gentoo/usr/portage/distfiles" EPREFIX="/home/msyang/gentoo" FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" PKGDIR="/home/msyang/gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/home/msyang/gentoo/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/home/msyang/gentoo/var/tmp" PORTDIR="/home/msyang/gentoo/usr/portage" PORTDIR_OVERLAY="/home/msyang/gentoo/usr/local/portage/my-overlay" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="amd64 berkdb bzip2 cli cracklib crypt dri fortran iconv ipv6 isdnlog midi mmx mssql mudflap ncurses nls nptl nptlonly odbc openmp pcre perl pppd prefix python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
fixed problem by unsetting environment variable LD_LIBRARY_PATH within startprefix bash shell and re-emerging subversion