Re: xfce4 desktop broken, complaining about libmd5.so.1
Chris Rees <[EMAIL PROTECTED]> 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 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xfce4 desktop broken, complaining about libmd5.so.1
Ah, brilliant! Thanks, I knew there was a way like that, but six hours' googling didn't find it, though I'm sure it was just me being thick! Maybe I should suggest adding libwww as dependiencies to xfce4, or maybe I shouldn't just delete ports without making a careful list... On 27/04/07, Daniel O'Connor <[EMAIL PROTECTED]> wrote: On Friday 27 April 2007 20:48, Oliver Fromme wrote: > Oliver Fromme wrote: > > Just a small addendum _how_ to find it out: > > > > $ cd /usr/ports > > $ echo */*/pkg-plist | xargs grep libmd5.so.1 > > I'm very sorry for repeatedly replying to myself, but I > almost forgot that there's a much faster way to find the > port which has that library: > > http://www.secnetix.de/tools/porgle/ > > Enter "libmd5.so.1" into the search field, check the > "packing list" checkbox, and click the "Search" button. I suspect both of these methods wouldn't help if the plist was dynamically generated (alas) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xfce4 desktop broken, complaining about libmd5.so.1
Daniel O'Connor wrote: > Oliver Fromme wrote: > > Oliver Fromme wrote: > > > $ cd /usr/ports > > > $ echo */*/pkg-plist | xargs grep libmd5.so.1 > > [...] > > http://www.secnetix.de/tools/porgle/ > > > > Enter "libmd5.so.1" into the search field, check the > > "packing list" checkbox, and click the "Search" button. > > I suspect both of these methods wouldn't help if the plist was > dynamically generated (alas) Yes, that's correct, at least for the first method (grep). I mentioned that in the previous mail (it was omitted from the quote): > (That approach works for most ports and files, but > not for all of them. Some ports generate their > packing list (plist) dynamically, but fortunately > those are a small minority.) However, the second method uses a few hacks so the plist files from most ports are included, even dynamically generated ones. There are still a few exceptions, in particular those linux ports that use AUTOMATIC_PLIST, but those are only 10 out of 16,925 ... so I'm not terribly worried. :-) For example, searching for "inflate.java" will correctly find the port archivers/jzlib, even though that port generates its plist dynamically. 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++ is over-complicated nonsense. And Bjorn Shoestrap's book a danger to public health. I tried reading it once, I was in recovery for months." -- Cliff Sarginson ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xfce4 desktop broken, complaining about libmd5.so.1
On Friday 27 April 2007 20:48, Oliver Fromme wrote: > Oliver Fromme wrote: > > Just a small addendum _how_ to find it out: > > > > $ cd /usr/ports > > $ echo */*/pkg-plist | xargs grep libmd5.so.1 > > I'm very sorry for repeatedly replying to myself, but I > almost forgot that there's a much faster way to find the > port which has that library: > > http://www.secnetix.de/tools/porgle/ > > Enter "libmd5.so.1" into the search field, check the > "packing list" checkbox, and click the "Search" button. I suspect both of these methods wouldn't help if the plist was dynamically generated (alas) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgprc6ZwiPwGj.pgp Description: PGP signature
Re: xfce4 desktop broken, complaining about libmd5.so.1
Oliver Fromme wrote: > Just a small addendum _how_ to find it out: > > $ cd /usr/ports > $ echo */*/pkg-plist | xargs grep libmd5.so.1 I'm very sorry for repeatedly replying to myself, but I almost forgot that there's a much faster way to find the port which has that library: http://www.secnetix.de/tools/porgle/ Enter "libmd5.so.1" into the search field, check the "packing list" checkbox, and click the "Search" button. 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 "Being really good at C++ is like being really good at using rocks to sharpen sticks." -- Thant Tessman ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xfce4 desktop broken, complaining about libmd5.so.1
Oliver Fromme wrote: > Chris Rees <[EMAIL PROTECTED]> wrote: > > Kind of embarrassing, I'm running 6.2-STABLE, and I recently used > > pkg_cutleaves to free some disk space. However, xfce's desktop doesn't work > > any more, neither will Thunar, and they both complain about missing file > > /usr/local/lib/libmd5.so.1. My locate database says it was there before I > > deinstalled all those packages, but I can't work out which ones I got rid > > of, nor which package libmd5.so.1 came from > > > > Could anyone please help me out? > > Install /usr/ports/www/libwww. Just a small addendum _how_ to find it out: $ cd /usr/ports $ echo */*/pkg-plist | xargs grep libmd5.so.1 (That approach works for most ports and files, but not for all of them. Some ports generate their packing list (plist) dynamically, but fortunately those are a small minority.) 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 "I made up the term 'object-oriented', and I can tell you I didn't have C++ in mind." -- Alan Kay, OOPSLA '97 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xfce4 desktop broken, complaining about libmd5.so.1
Chris Rees <[EMAIL PROTECTED]> wrote: > Kind of embarrassing, I'm running 6.2-STABLE, and I recently used > pkg_cutleaves to free some disk space. However, xfce's desktop doesn't work > any more, neither will Thunar, and they both complain about missing file > /usr/local/lib/libmd5.so.1. My locate database says it was there before I > deinstalled all those packages, but I can't work out which ones I got rid > of, nor which package libmd5.so.1 came from > > Could anyone please help me out? Install /usr/ports/www/libwww. 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 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
xfce4 desktop broken, complaining about libmd5.so.1
Kind of embarrassing, I'm running 6.2-STABLE, and I recently used pkg_cutleaves to free some disk space. However, xfce's desktop doesn't work any more, neither will Thunar, and they both complain about missing file /usr/local/lib/libmd5.so.1. My locate database says it was there before I deinstalled all those packages, but I can't work out which ones I got rid of, nor which package libmd5.so.1 came from Could anyone please help me out? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"