Date: Sun, 30 Apr 2006 05:28:51 -0500 (CDT) From: Lars Eighner <eighner@io.com> To: dharam paul <exiaf_radar_guy38@yahoo.co.in> Cc: freebsd <freebsd-questions@freebsd.org> Subject: Re: "libexpat.so.5" not found Message-ID: <20060430045902.D7922@goodwill.io.com> In-Reply-To: <20060430093115.5230.qmail@web8912.mail.in.yahoo.com> References: <20060430093115.5230.qmail@web8912.mail.in.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060430045902.D7922>