From owner-freebsd-questions@FreeBSD.ORG Mon Feb 9 21:48:48 2009 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 96E48106568C for ; Mon, 9 Feb 2009 21:48:48 +0000 (UTC) (envelope-from davidcollins001@gmail.com) Received: from mail-bw0-f163.google.com (mail-bw0-f163.google.com [209.85.218.163]) by mx1.freebsd.org (Postfix) with ESMTP id DA2928FC1C for ; Mon, 9 Feb 2009 21:48:47 +0000 (UTC) (envelope-from davidcollins001@gmail.com) Received: by bwz7 with SMTP id 7so2155674bwz.19 for ; Mon, 09 Feb 2009 13:48:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Tq7PcM+Ka9PXwDrwuovq8HP8HhkRwefUzIgIUGclgzo=; b=HGC5wiWN0stgpAKWHT5nXyqnzqaK7uv/+RxAFJp3LQRTQPWVLeuMjNCFnNL658zPcW NIlwCB9wKS8Sn/nMOYk/8P05TAzQM+M7sKwqKxbbVii1Df9FOtwEgPfWzjIJdkFI4jlY Cvearp8aXSeFVqvZE0sVSPfMmKdUn+oc9/r54= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=osClSspncrE260jHvzAzNvE0soF+TtsKb1TyZFPnu4HTzF4gIeviLvew2YUkCpvynA 82H23//y52tbDh/qNrOU8dDCBFYHkTOYa/nigOIeFpWh9Bsv/UbQ8aXOlNpzjtTKGH/t 02n8ebC78ezIxXDZTGNsNYr6uC4mmNIUdOXQ0= MIME-Version: 1.0 Received: by 10.223.110.3 with SMTP id l3mr1875768fap.49.1234216126431; Mon, 09 Feb 2009 13:48:46 -0800 (PST) In-Reply-To: <20090209213249.GA4401@melon.esperance-linux.co.uk> References: <20090207075521.GA93084@melon.esperance-linux.co.uk> <20090208203553.GA99661@melon.esperance-linux.co.uk> <1b30fd140902081424p1d75e304y9f4ef9f9b472328c@mail.gmail.com> <20090209055634.GA2116@melon.esperance-linux.co.uk> <1b30fd140902082330m21b4aecyf99cb83a080e972a@mail.gmail.com> <20090209083338.GA2666@melon.esperance-linux.co.uk> <1b30fd140902090108m292ef929tdce1ce2c946ead6b@mail.gmail.com> <20090209093505.GA2835@melon.esperance-linux.co.uk> <1b30fd140902091152x17ed90e5sf915b361927067e@mail.gmail.com> <20090209213249.GA4401@melon.esperance-linux.co.uk> Date: Mon, 9 Feb 2009 21:48:46 +0000 Message-ID: <1b30fd140902091348j56068545hb90905eb87050acc@mail.gmail.com> From: David Collins To: Frank Shute , David Collins , freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: broken ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: davidcollins001@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 21:48:49 -0000 Thank you for your input. I feel like this problem is too far over my head to be able to give adequate enough debugging. I am not against any alternative methods of resolving this (even removing and reinstalling ports) rather than fixing, I just don't want to have to jump into sysinstall or reinstall because i believe that is a soluion. David On 09/02/2009, Frank Shute wrote: > On Mon, Feb 09, 2009 at 07:52:58PM +0000, David Collins wrote: >> >> > Then you should be able to build rtorrent. >> > >> > Then what I'd do is deinstall gcc42: >> > >> > # pkg_deinstall -f gcc-4.2.5_20080702 >> > >> > Comment out the CC line in /etc/make.conf & run ldconfig: >> > >> > # /etc/rc.d/ldconfig start >> > >> > and hopefully your system is then back to normal. >> >> I tried all this and rtorrent would still not install, with the same >> error at configure. I was however able to pkg_deinstall the gcc it >> installed. That didn't solve any problems though. >> >> I feel that it might be easier to focus on the following compiling >> problem that still exists: >> >> viper:~$ gcc -o hello hello.c >> /usr/bin/ld: cannot find -lgcc_s > > What this is telling you is the linker, ld(1), can't find the gcc_s > library. ldconfig(8) tells ld where to look. > > What does: > > $ ldconfig -r | grep gcc_s > > tell you now that you've removed that compiler? You should get > something like: > > $ ldconfig -r | grep gcc_s > 30:-lgcc_s.1 => /lib/libgcc_s.so.1 > > i.e. It's looking in the system libs. > > If it still tells you that the lib is under /usr/local/lib, then > there's your problem & you have to regenerate a fresh hints file, I > think. > > The problem is that I've never (IIRC) installed a compiler from > ports & I don't know how it screws with the compiler toolchain & hence > how to put it right. Hence, I've cc'd this to hackers@ in the hope that > someone who is more familiar with the toolchain can give advice. > > > Regards, > > -- > > Frank > > > Contact info: http://www.shute.org.uk/misc/contact.html > >