Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2007 19:30:09 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG, utisoft@gmail.com
Subject:   Re: xfce4 desktop broken, complaining about libmd5.so.1
Message-ID:  <200704271730.l3RHU9fE018055@lurza.secnetix.de>
In-Reply-To: <b79ecaef0704270947u1401659dv97ffe3dd60505d4d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Rees <utisoft@googlemail.com> wrote:
 > Maybe I should suggest adding libwww as dependiencies to xfce4

You should talk to the port's maintainer about that.

However, it's not always a trivial thing to get all the
possible dependencies right.  Sometimes the configure
script of a software happens to find a library and
decides to use it and to link against it, even though
it is purely optional, and the port maintainer didn't
think about the possibility.  Such cases aren't detected
by a clean build when the library in question is not
installed (such as on the FreeBSD package cluster).
Of course, the opposite case _is_ detected:  If a
software requires a library (i.e. it's non-optional),
then it will break if the library is not present.

So, in fact, simply re-installing libwww will make it
work, but it might still cause problems in the long run
(e.g. at an update in the future), because the
dependencies are still incorrectly recorded.

You have two options:

1.  Install libwww and fix the dependencies manually:
     - Add a line "@pkgdep libwww-..." to the file
       /var/db/pkg/xfce-.../+CONTENTS
     - Add a line "xfce-..." to the file
       /var/db/pkg/libwww-.../+REQUIRED_BY.
    If you use portupgrade, you probably have to rebuild
    its database.

2.  Do _not_ install libwww, and instead rebuild xfce4.
    Then the configure script will not find libwww and
    will not link against it.

Well, at least that's the theory.  :-)

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

C++: "an octopus made by nailing extra legs onto a dog"
        -- Steve Taylor, 1998



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