From owner-freebsd-questions Fri Oct 18 10:21:20 2002 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 315B237B401 for ; Fri, 18 Oct 2002 10:21:18 -0700 (PDT) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D13F43E9E for ; Fri, 18 Oct 2002 10:21:17 -0700 (PDT) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from sub21-156.member.dsl-only.net (freebsd.localhost.localdomain [127.0.0.1]) by sub21-156.member.dsl-only.net (8.12.5/8.12.5) with ESMTP id g9IHTY2T039181 for ; Fri, 18 Oct 2002 10:29:34 -0700 (PDT) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: (from nkinkade@localhost) by sub21-156.member.dsl-only.net (8.12.5/8.12.5/Submit) id g9IHTT5d039180 for freebsd-questions@freebsd.org; Fri, 18 Oct 2002 10:29:29 -0700 (PDT) (envelope-from nkinkade) Date: Fri, 18 Oct 2002 10:29:29 -0700 From: Nathan Kinkade To: freebsd-questions@freebsd.org Subject: Re: apache install problems w/expat Message-ID: <20021018172929.GC38884@sub21-156.member.dsl-only.net> Reply-To: nkinkade@dsl-only.net Mail-Followup-To: freebsd-questions@freebsd.org References: <20021018154924.GC36930@sub21-156.member.dsl-only.net> <20021018162215.81444.qmail@web20110.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021018162215.81444.qmail@web20110.mail.yahoo.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Oct 18, 2002 at 09:22:15AM -0700, Bsd Neophyte wrote: > > --- Nathan Kinkade wrote: > > On Thu, Oct 17, 2002 at 11:01:09PM -0700, Bsd Neophyte wrote: > > > > > > i have problems installing apache. > > > > > > i'm getting the following errors eventhough i have expat-1.95.4 > > installed. > > > > > > -------------- > > > ===> Installing for expat-1.95.4 > > > ===> expat-1.95.4 is already installed - perhaps an older version? > > > If so, you may wish to ``make deinstall'' and install > > > this port again by ``make reinstall'' to upgrade it properly. > > > If you really wish to overwrite the old port of expat-1.95.4 > > > without deleting it first, set the variable "FORCE_PKG_REGISTER" > > > in your environment or the "make install" command line. > > > *** Error code 1 > > > > > > Stop in /usr/ports/textproc/expat2. > > > *** Error code 1 > > > -------------- > > > > > > when i tried doing it again i get the following error: > > > > > > Error: shared library "expat.4" does not exist > > > *** Error code 1 > > > > > > Stop in /usr/ports/www/apache2. > > > > > > > > > i've tried to uninstall expat and then reinstall it... i've also tried > > > running portupgrade on expat... but i'm still stuck. > > > > > > as always, any and all help will be appreciated > > > > Try deinstalling the expat2 package/port with `pkg_deinstall' or > > `pkg_delete'. The run `pkgdb -F' and fix any problems that may > > arise. The go back to your apache build and try > > again, letting the apache port install expat2 itself. This may not > > solve the underlying problem you are having with the apache port, but it > > might get past the problem? > > > > Nathan > > i tried the pkg_delete as well as rebuilding the packages from the ports > and then doing a make deinstall (i don't know if they're the same thing or > different). i never knew about the pkgdb, which seems to be a pretty > interesting feature. > > however, i regret to report, i am getting the exact same problem. :/ > > ----- > ===> apache-2.0.43 depends on shared library: expat.4 - not found > ===> Verifying install for expat.4 in /usr/ports/textproc/expat2 > ===> Returning to build of apache-2.0.43 > Error: shared library "expat.4" does not exist > *** Error code 1 > ----- > > any other suggestions? Well, does library expat.4 actually exist? If not, then what version is the expat2 port installing? Assuming that expat2 installs a newer version of the library, you might be able to simply create a link named expat.4 and point it to the one expat installs. Then requests for expat.4 will simply point to the newer version, but this may only work reliably if you are sure that the newer version of the library is backward compatible with the older one. Nathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message