I did an emerge -u world and when I restarted the webserver it gave me this: Syntax error on line 5 of /etc/apache2/conf/modules.d/70_mod_php.conf: Cannot load /etc/apache2/extramodules/libphp4.so into server: libssl.so.0.9.6: cannot open shared object file: No such file or directory I confirmed that I did not have it. I have libssl.so.0.9.7 so to remedy I did a ln -s libssl.so.0.9.7 libssl.so.0.9.6 Then I got the same error, except it was libcrypto.so.0.9.6 it wanted - I did the same symlink trick and I can now start my server... How should I fix this the right way? (I don't code ;) /sbin/depscan.sh didn't seem to do anything Reproducible: Always Steps to Reproduce: 1. emerge -u world 2. /etc/init.d/apache2 restart Actual Results: Syntax error on line 5 of /etc/apache2/conf/modules.d/70_mod_php.conf: Cannot load /etc/apache2/extramodules/libphp4.so into server: libssl.so.0.9.6: cannot open shared object file: No such file or directory Expected Results: apache2 should start Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /var/qmail/control /var/qmail/alias" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium2 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ftp.gentoo.skynet.be/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="oss foomaticdb mad xmms tcltk esd x86 -3dnow -apm -arts avi berkdb crypt cups curl encode firebird gd gdbm gif gpm gtk imap imlib java jpeg kde gnome -libg++ libwww mcal -mikmod maildir -mbox mmx motif mpeg mysql ncurses nls oggvorbis opengl pam pdflib png python perl qt -quicktime readline -sdl slang -spell ssl svga tcpd truetype X xml xml2 -xv zlib"
emerge sync and emerge the new openssl in there (-r1) it should sort you out
einfo "You can now re-compile all packages that are linked again st" einfo "OpenSSL 0.9.6 by using revdep-rebuild from gentoolkit:" einfo "# revdep-rebuild --soname libssl.so.0.9.6" einfo "# revdep-rebuild --soname libcrypto.so.0.9.6" einfo "After this, you can delete /usr/lib/libssl.so.0.9.6 and / usr/lib/libcrypto.so.0.9.6"
revdep-rebuild complained about all sorts of things. Seemant's advice seemed to work though :)