From owner-freebsd-questions@FreeBSD.ORG Wed Aug 13 04:47:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13DFD37B401 for ; Wed, 13 Aug 2003 04:47:00 -0700 (PDT) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75F8A43FA3 for ; Wed, 13 Aug 2003 04:46:56 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.20 #5 (FreeBSD)) id 19mu5V-0004bJ-F7 for ; Wed, 13 Aug 2003 14:46:45 +0300 Date: Wed, 13 Aug 2003 14:46:45 +0300 From: ODHIAMBO Washington To: freebsd-questions@freebsd.org Message-ID: <20030813114645.GB1947@ns2.wananchi.com> Mail-Followup-To: ODHIAMBO Washington , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Mollison's Bureaucracy Hypothesis: If an idea can survive a bureaucratic review and be implemented it wasn't worth doing. X-Operating-System: FreeBSD 4.8-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt 1.5.4i (2003-03-19) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 2:40PM up 3 days, 2:48, 2 users, load averages: 0.78, 0.76, 0.62 User-Agent: Mutt/1.5.4i Subject: libc.so.5 vs libc.co.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2003 11:47:00 -0000 Okay folks, please bear with me here because I don't know what I am talking about in technical terms: OS : 5.1-RELEASE. I have installed mod_php4 using the following command: portinstall -m "-DWITH_APACHE2" mod_php4 So it went ahead and installed Apache-2.0.47, upgrading stuff while it goes. Once completed, apachectl configtest core dumps with signal 11! I had seen this before sometimes and there was a mention of libc.so.4 However when I do ln -s /usr/lib/libc.so.5 /usr/lib/libc.so.4 apachectl configtest says OK. I am stumped. Apache has been installed afresh, mod_php4 also a fresh Why am I getting this funny stuff??? Why do I need libc.so.4?? I seriously need some guru advise and so THANK YOU in advance. beastie# cd /usr/lib beastie# ls -al libc.so.5 -r--r--r-- 1 root wheel 886848 Aug 12 15:31 libc.so.5 beastie# ls -al libc.so.4 ls: libc.so.4: No such file or directory beastie# ln -fs libc.so.5 libc.so.4 beastie# apachectl configtest Syntax OK beastie# locate libc.so.4 /usr/jail/212.49.74.108/usr/lib/libc.so.4 /usr/lib/compat/libc.so.4 /usr/local/lib/compat/libc.so.4 /usr/src/lib/compat/compat4x.alpha/libc.so.4.bz2.uu /usr/src/lib/compat/compat4x.i386/libc.so.4.bz2.uu beastie# ldd `which httpd` /usr/local/sbin/httpd: libz.so.2 => /usr/lib/libz.so.2 (0x480b3000) libssl.so.3 => /usr/lib/libssl.so.3 (0x480c1000) libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x480f2000) libaprutil-0.so.9 => /usr/local/lib/apache2/libaprutil-0.so.9 (0x481ff000) libexpat.so.4 => /usr/local/lib/libexpat.so.4 (0x48212000) libapr-0.so.9 => /usr/local/lib/apache2/libapr-0.so.9 (0x48232000) libm.so.2 => /usr/lib/libm.so.2 (0x4824e000) libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x4826b000) libc.so.5 => /usr/lib/libc.so.5 (0x48284000) -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD." GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) Hartley's First Law: You can lead a horse to water, but if you can get him to float on his back, you've got something.