Re: "libexpat.so.5" not found



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@xxxxxx lars@xxxxxxxxxxxxxxx
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: new package system proposal
    ... If I could install, let's say, FreeBSD 7.1 on that system, use ... No because the packages are built on a rolling ports tree. ... the precompiled packages are somewhat -STABLE every time. ... snapshot and choosing only to upgrade certain ports. ...
    (freebsd-questions)
  • Advice about cvsup ports-all upgrading
    ... I'd like to have an advice about how to behave in case I want to upgrade ... expecially if I use to cvsup all my ports tree. ... So if I portupgrade -r a it would try to upgrade the dependency first, ... make PREFIX=/usr/home/example/local install ...
    (comp.unix.bsd.freebsd.misc)
  • Re: preparing for an upgrade
    ... upgrade from FreeBSD 6.2 -> 6.4. ... install / run the upgrade script using CD-ROM media to a 6.4 ... I keep updating my FreeBSD 6.2 ports tree and have never ...
    (freebsd-questions)
  • Re: Problems with flash and native mozilla
    ... >> I have an issue with my mozilla install. ... >> mplayer, I have to upgrade everthing that also makes my desktop, ... from packages on the CD, and then do a CVSup to the current ports tree. ... An alternative is to CVSup your ports tree back to the date on which the ...
    (freebsd-questions)
  • Re: upgrade php on redhat 9
    ... configuring it and make install it but that didnot work ... may need to build it and then make sure you install it. ... have your apache use DSO files, you need to look in something ... DO NOT have to recompile apache for a PHP version upgrade. ...
    (comp.os.linux.misc)