solved: Re: rpm trashed my system with linux so's

Steve Franks bahamasfranks at
Fri Feb 12 16:17:31 UTC 2010

On Thu, Feb 11, 2010 at 9:29 PM, Chuck Swiger <cswiger at> wrote:
> On Feb 11, 2010, at 8:05 PM, Steve Franks wrote:
>> Main thing is that portupgrade -f gamin is *not* putting fresh bsd
>> copies overtop the bad linux ones I stupidly installed, and anything
>> with gtk is now useless (shared object '" not found,
>> required by ""), which is pretty much everything.
>> Short of reinstalling everything from CD, do I have options?
> Sure.  First, however, please note that it is (presumably past) time to obtain a working backup mechanism for any system that you care about.
> Consider the output of "find /usr/local/lib -mtime -2" (or some other # of days).  You can use pkg_which to identify the port which should have provided a native FreeBSD library; use pkg_delete -f _portname_ or similar measures to more forcefully remove these Linux .so's.
> Regards,
> --
> -Chuck

Ok, got lucky: linux sticks everything in /lib, which is in the
default path before /usr/local/lib, hence the madness, and hence why
portupgrade won't fix it (it rebuilds most bsd .so's in

Just rm every .so file that gets complained about missing dependancies
from /lib, and you're back in the land of the living!

That was "fun"....

Anyone know where the "right" place for rpm to put real unix libs for
use with compat?  compat/lib?

Anyway, thanks, all


More information about the freebsd-questions mailing list