From owner-freebsd-ports@FreeBSD.ORG Wed Feb 27 22:07:42 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EA60106566C; Wed, 27 Feb 2008 22:07:42 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 4D4668FC15; Wed, 27 Feb 2008 22:07:40 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 233622223-1834499 for multiple; Wed, 27 Feb 2008 16:49:17 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m1RLp8xX036786; Wed, 27 Feb 2008 16:51:13 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-stable@freebsd.org Date: Wed, 27 Feb 2008 16:11:51 -0500 User-Agent: KMail/1.9.7 References: <36e46ac80802171226p6a18997ao21e03b626425695e@mail.gmail.com> <20080217212857.c4df5d25.ota@j.email.ne.jp> <47B95990.8070808@FreeBSD.org> In-Reply-To: <47B95990.8070808@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802271611.52138.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 27 Feb 2008 16:51:14 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/6014/Wed Feb 27 15:42:51 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: ports@freebsd.org, stable@freebsd.org, oscartheduck@gmail.com, Atanas Gendov , Yoshihiro Ota , Sergey Matveychuk Subject: Re: ldconfig -R issue (Was: Problems with icu - 3.8) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 22:07:42 -0000 On Monday 18 February 2008 05:10:24 am Sergey Matveychuk wrote: > +stable@ > > Yoshihiro Ota wrote: > > Why are so many people are bitten by this? Is that the jobs of port-upgrading > > tool to safe copy these libraries to compat so that all programs using > > the old libraries works? > > Portupgrade preserves the libraries in /usr/local/lib/compat/pkg: > % ls /usr/local/lib/compat/pkg/ > libicudata.so.36.0 libicule.so.36.0 libicuuc.so.36.0 > libicui18n.so.36.0 libiculx.so.36.0 > libicuio.so.36.0 libicutu.so.36.0 > > ldconfig knows about the directory: > % ldconfig -r | head -2 > /var/run/ld-elf.so.hints: > search directories: > /lib:/usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/lib/mysql:/usr/local/lib/compat/pkg > > But ldconfig -R don't rescan them: > % ldconfig -R > % ldconfig -r | grep libicudata > 231:-licudata.38 => /usr/X11R6/lib/libicudata.so.38 > 386:-licudata.38 => /usr/local/lib/libicudata.so.38 > > Could anybody investigate it? I have no time now. Drop the .0 from the filenames or add libfoo.so.36 symlinks. -- John Baldwin