Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2008 16:11:51 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-stable@freebsd.org
Cc:        ports@freebsd.org, stable@freebsd.org, oscartheduck@gmail.com, Atanas Gendov <atanas.gendov@gmail.com>, Yoshihiro Ota <ota@j.email.ne.jp>, Sergey Matveychuk <sem@freebsd.org>
Subject:   Re: ldconfig -R issue (Was: Problems with icu - 3.8)
Message-ID:  <200802271611.52138.jhb@freebsd.org>
In-Reply-To: <47B95990.8070808@FreeBSD.org>
References:  <36e46ac80802171226p6a18997ao21e03b626425695e@mail.gmail.com> <20080217212857.c4df5d25.ota@j.email.ne.jp> <47B95990.8070808@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802271611.52138.jhb>