From owner-freebsd-questions@FreeBSD.ORG Sun Apr 30 10:31:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 39CF216A485 for ; Sun, 30 Apr 2006 10:31:24 +0000 (UTC) (envelope-from eighner@io.com) Received: from smtp.prismnet.com (smtp.prismnet.com [209.198.128.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67B6B43D5D for ; Sun, 30 Apr 2006 10:31:23 +0000 (GMT) (envelope-from eighner@io.com) Received: from io.com (206-224-83-120-dialup.io.com [206.224.83.120]) by smtp.prismnet.com (8.13.4/8.13.4) with SMTP id k3UAVH4X041700; Sun, 30 Apr 2006 05:31:18 -0500 (CDT) (envelope-from eighner@io.com) Received: by io.com (nbSMTP-1.00) for uid 1001 eighner@io.com; Sun, 30 Apr 2006 05:28:52 -0500 (CDT) Date: Sun, 30 Apr 2006 05:28:51 -0500 (CDT) From: Lars Eighner To: dharam paul In-Reply-To: <20060430093115.5230.qmail@web8912.mail.in.yahoo.com> Message-ID: <20060430045902.D7922@goodwill.io.com> References: <20060430093115.5230.qmail@web8912.mail.in.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on smtp.prismnet.com X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=8.0 tests=none autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on smtp.prismnet.com Cc: freebsd Subject: Re: "libexpat.so.5" not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Apr 2006 10:31:24 -0000 On Sun, 30 Apr 2006, dharam paul wrote: > I am getting folloing error while I try to start > apache : > /libexec/ld-elf.so.1: Shared object "libexpat.so.5" > not found, required by "http > d" > /usr/local/sbin/apachectl start: httpd could not be > started > usage: /usr/local/sbin/apachectl > (start|stop|restart|fullstatus|status|graceful| > configtest|help) > > Help please, > dp The most likely cause of this is that you have upgraded to some version of FreeBSD 6. In that case, the quick fix is to install the compat5x port in misc. Be sure to update your ports tree before attempting this. This is the first thing to try if you must get your server up immediately. The alternative is to update your ports tree and then use portupgrade to reinstall ALL installed ports. This is the right way when you are sure you ports tree is in sync with your version of the OS, but it can be a long process even with a fast machine. If you did not upgrade to 6.x, you may have upgrade expat incorrectly (if memory serves), which might have happened if you used portupgrade to install or upgrade one of its many dependencies. Check the UPDATING file in the ports tree for information on correctly upgrading expat2. Possibly you installed apache from a binary that does not match your system. This should not have been possible, but oversights sometimes occur. It is impossible to be more specific without (at least) the following information: 1) What version of FreeBSD you are running (i.e. output of uname -a). 2) Did this version of apache ever work on your system? 3) Have you upgraded the system? 4) Have you used portupgrade to install something that might depend on expat? 5) Have you recently upgraded your port tree? Are you sure your port tree is appropriate for the version of the system you are using. -- Lars Eighner eighner@io.com lars@larseighner.com http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266