Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2002 10:29:29 -0700
From:      Nathan Kinkade <nkinkade@dsl-only.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: apache install problems w/expat
Message-ID:  <20021018172929.GC38884@sub21-156.member.dsl-only.net>
In-Reply-To: <20021018162215.81444.qmail@web20110.mail.yahoo.com>
References:  <20021018154924.GC36930@sub21-156.member.dsl-only.net> <20021018162215.81444.qmail@web20110.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 18, 2002 at 09:22:15AM -0700, Bsd Neophyte wrote:
> 
> --- Nathan Kinkade <nkinkade@dsl-only.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021018172929.GC38884>