From owner-freebsd-questions@FreeBSD.ORG Fri Feb 12 16:17:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3751106566C for ; Fri, 12 Feb 2010 16:17:31 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-pz0-f184.google.com (mail-pz0-f184.google.com [209.85.222.184]) by mx1.freebsd.org (Postfix) with ESMTP id 9BA538FC15 for ; Fri, 12 Feb 2010 16:17:31 +0000 (UTC) Received: by pzk14 with SMTP id 14so2768554pzk.3 for ; Fri, 12 Feb 2010 08:17:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=qdSdxdeJwmkY6t61OXS39ZH1YsltAe+xygYmVbzVnVE=; b=pPpNOOVNZwQrWGnvbkIQQG60JfwUsAi8+VYMwy1FDI77x2Sm0Na6wd2ugdN63MDMHo lQYcfJOO1b4Alhm9wiC/mYYv92p1e2J2y7rE0sGp3lWMT7yRiSacFsWFMUHuC+mfioGN bXRLRoe5pdQZw7v2ukfXEkZWYSGMGvmd1ep0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=VtQSEeQkXVlyYsDWfZbr7BcjqkjzSKs34lEe8llzXM8a6bPkuYr9khG8cGHfz1MpU/ v4e3r1Pefymm6OqlAjAJHJ5+q1n5mSe6hlhq5atRLpM1T7YjHXYYrvGWkz6knNG6RKfL NxJFI4thnh1cT18M5Y+/kgkNUA9MwpT0YoSPQ= MIME-Version: 1.0 Received: by 10.142.56.11 with SMTP id e11mr1049072wfa.272.1265991451103; Fri, 12 Feb 2010 08:17:31 -0800 (PST) Date: Fri, 12 Feb 2010 09:17:31 -0700 Message-ID: <539c60b91002120817x42e9f81jddede6c85f67e26e@mail.gmail.com> From: Steve Franks To: Chuck Swiger Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: solved: Re: rpm trashed my system with linux so's X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2010 16:17:31 -0000 On Thu, Feb 11, 2010 at 9:29 PM, Chuck Swiger 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