From owner-freebsd-questions@FreeBSD.ORG Tue Feb 19 12:26:30 2008 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 A4CE716A474 for ; Tue, 19 Feb 2008 12:26:30 +0000 (UTC) (envelope-from lenny@edpausa.com) Received: from skywalker.edpausa.com (mail.edpausa.com [67.88.41.162]) by mx1.freebsd.org (Postfix) with ESMTP id 6696413C469 for ; Tue, 19 Feb 2008 12:26:30 +0000 (UTC) (envelope-from lenny@edpausa.com) Received: from localhost (localhost.edpausa.com [127.0.0.1]) by skywalker.edpausa.com (Postfix) with ESMTP id E1292C966A for ; Tue, 19 Feb 2008 07:26:29 -0500 (EST) X-Virus-Scanned: amavisd-new at edpausa.com Received: from skywalker.edpausa.com ([127.0.0.1]) by localhost (skywalker.edpausa.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yKOlLzKU7i5k for ; Tue, 19 Feb 2008 07:26:25 -0500 (EST) Received: from mail.edpausa.com (localhost.edpausa.com [127.0.0.1]) by skywalker.edpausa.com (Postfix) with ESMTP id 46D63C963D for ; Tue, 19 Feb 2008 07:26:22 -0500 (EST) Received: from 216.254.116.226 (SquirrelMail authenticated user lenny) by mail.edpausa.com with HTTP; Tue, 19 Feb 2008 07:26:25 -0500 (EST) Message-ID: <50020.216.254.116.226.1203423985.squirrel@mail.edpausa.com> In-Reply-To: <47BAA996.1000501@FreeBSD.org> References: <51345.216.254.116.226.1203391042.squirrel@mail.edpausa.com> <47BAA996.1000501@FreeBSD.org> Date: Tue, 19 Feb 2008 07:26:25 -0500 (EST) From: lenny@edpausa.com To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: libc5 on freebsd 6.3 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: Tue, 19 Feb 2008 12:26:30 -0000 Thank you for your response, but it doesn't really help with the situation, besides the software I'm talking about has been recompiled many time over since the upgrade. Just to make sure, I recompiled again and it linked to both libc5 and libc6 right away. That's my issue. > lenny@edpausa.com wrote: >> after several years of relatively trouble free system ( 5 > 6.3 ) and >> port >> upgrades, I started having some issues with timesieved daemon of cyrus >> imap. >> nothing in the software configuration has changed, but the cyrus port >> was >> recently upgraded ( around the same time that the system was upgraded >> from >> 6.2 to 6.3 ) >> >> the only thing that looks suspicious is the fact that most ( or all ) >> cyrus binaries are linked to both libc5 and libc6. in fact, after some >> digging around, I discovered that many other binaries on the system seem >> be linked to both libraries. I suspect that libc5 is the remnant of 5x >> installation. >> >> What's the safest thing to do ? >> >> remove libc5 and link libc5 to libc6 ? >> >> rebuild affected software ? ( couldn't find a relevant make.conf option, >> so what might a flag like that look like ? WITH_LIBC_VER=6 ? > > You have to recompile all your installed ports as part of your upgrade > to a new version of FreeBSD (e.g. 5.x -> 6.x, 6.x -> 7.x, etc). The > only reason this is necessary is to prevent this kind of problem from > creeping in as you incrementally rebuild your ports over time. Binaries > linked to incompatible or inconsistent sets of libraries like two > different versions of libc will behave unpredictably and may crash. No > special care needs to be taken when recompiling, just make sure to > recompile everything (portupgrade -fa or -faPP or similar). > > Kris > > >