From owner-freebsd-questions@FreeBSD.ORG Tue Aug 30 13:19:03 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 882C416A41F for ; Tue, 30 Aug 2005 13:19:03 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32E2043D49 for ; Tue, 30 Aug 2005 13:19:03 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 27658 invoked from network); 30 Aug 2005 13:19:02 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 30 Aug 2005 13:19:02 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id C025849; Tue, 30 Aug 2005 09:19:01 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Will Maier References: <20050828155958.GC24820@localhost.localdomain> From: Lowell Gilbert Date: 30 Aug 2005 09:19:01 -0400 In-Reply-To: <20050828155958.GC24820@localhost.localdomain> Message-ID: <443borh8ai.fsf@be-well.ilk.org> Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Perl 5.8.7 port requires libm.so.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2005 13:19:03 -0000 Will Maier writes: > *- > > I'm running a ~2 days old FreeBSD 5.3-SECURITY install; I'm still getting my > feet wet with FreeBSD. Here's the process I've been using to keep my ports > tree up-to-date: > # portsnap fetch > # portsnap update > # make fetchindex > # portsdb -u > # portupgrade -varRPP > > I've also been reading /u/p/UPDATING before actually running portupgrade; > today I noticed that the Perl 5.8.6->5.8.7 upgrade required running a script > afterwards. I then ran portupgrade, which updated Perl, Ruby and some other > ports. It failed on firefox and gtk20, however, because it couldn't find > libm.so.4. > > I then tried to run perl-after-upgrade, but the Perl interpreter won't run > because it can't find libm.so.4 either. Symlinking /l/libm.so.3 -> > /l/libm.so.4 gets rid of the error, but then the interpreter complains about a > crypt library...symlinking each of the required libs seems a) unlikely to be a > good solution in the end and b) hackish, plus I'm not even sure it *really* > makes the interpreter any happier. > > Have I missed some important step? The OS itself is kept up-to-date using > freebsd-update, although I don't *think* this would affect eg Perl. Sure it will, if it updates you to have a different dynamic library name than the one your programs are linked against. I don't use freebsd-update, but I'd like to point out that libm.so.4 is on FreeBSD 6.x, not 5.x. So you don't seem to be running the base system you think you are.