I've been using XFree since I installed gentoo. Then, I wanted to try X.org. I did emerge unmerge xfree && emerge xorg-x11 etc-update (replaced all old files with the new ones) It installed correctly and I used X.org for about 2 weeks. But, after realizing it was quite instable for me, I decided to switch back to XFree. So I did emerge unmerge xorg-x11 && emerge xfree etc-update (replaced all old files with the new ones) ...and almost EVERY X application I had compiled in the X.org period now won't start any more. Most of them say "error while loading shared libraries: libXinerama.so.1: cannot open shared object file: No such file or directory" (note: I've NEVER had USE=+xinerama in my flags); others say "error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory". The worst thing is, that if I try to recompile them, most spit out errors. I managed to recompile kdebase-3.3.0, so KDE now works, but a TON of other applications (gdm, gaim, etc.) crash at compile time saying "undefined reference to Xinerama" and similar errors. This is obviously because some of their dependencies has been recompiled with X.org installed, but I can't figure out which ones. I can't see any immediate solution, except going back to X.org or doing "emerge -e world". >_< Please help. I'm a bit desperate. Just a bit. *sigh* $ emerge info Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(TM) XP 2000+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest distcc fixpackages sandbox userpriv" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X X509 aalib alsa apache2 apm avi berkdb bonobo cdparanoia cdr chroot crypt cscope cups curl dga directfb doc dvdvb dvd dvdr encode erandom esd extensions faad fbcon flac flash foomaticdb gd gdbm ggi gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile ieee1394 imap imlib innodb ipv6 java jikes joystick jpeg kde kerberos krb4 lcms ldap libcaca libg++ libwww linguas_it live lzo mad mcal md5sum memlimit mikmod mmx mng motif mozilla moznoirc mozp3p mozsvg mpeg mpi mysqlncurses network nls nptl nvidia odbc offensive oggvorbis opengl pam parse-clocks pdflib perl pic png ppds prelude python qtquicktime readline rtc samba scanner sdl skey slang slp sndfile snmp socks5 speex spell sqlite sse ssl svga tcltk tcpd tetex tga theora tiff truetype unicode usb v4l v4l2 vim-with-x wmf wxwindows x86 xchattext xml xml2 xmms xv xvid yaz zlib"
have you tried running revdep-rebuild from app-portage/gentoolkit
crusader, what _Versions_ of xorg and xfree are you trying to install?
All versions of xorg (and xfree >=4.3.99) provide shared libraries that don't exist in xfree-4.3.0. You'll need to rebuild anything depending on those shared libraries, perhaps with revdep-rebuild as Thomas suggested. The --soname argument may prove useful. If that doesn't work, just remerge applications as they fail.
xfree-4.3.0-r6 xorg-x11-6.7.0-r1 I managed to run revdep-rebuild. It took me a night and half a day to recompile everything, but I did it (also considering that revdep-rebuild isn't exactly what's it called a bug-free app and it crashed 3 times - once in the middle of the night, d'ouh) Donnie: yes, that explains everything. I wish there was a solution so that this nightmare won't happen to other people, but whatever...