Date: Fri, 12 Feb 2010 09:17:31 -0700 From: Steve Franks <bahamasfranks@gmail.com> To: Chuck Swiger <cswiger@mac.com> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: solved: Re: rpm trashed my system with linux so's Message-ID: <539c60b91002120817x42e9f81jddede6c85f67e26e@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
On Thu, Feb 11, 2010 at 9:29 PM, Chuck Swiger <cswiger@mac.com> 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 'libselinux.so.1" not found, >> required by "libgio-2.0.so.0"), which is pretty much everything. >> >> Short of reinstalling everything from CD, do I have options? > > Sure. =A0First, 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 # o= f days). =A0You can use pkg_which to identify the port which should have pr= ovided a native FreeBSD library; use pkg_delete -f _portname_ or similar me= asures 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 /usr/local/lib). 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 Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539c60b91002120817x42e9f81jddede6c85f67e26e>