Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2008 13:10:24 +0300
From:      Sergey Matveychuk <sem@FreeBSD.org>
To:        Yoshihiro Ota <ota@j.email.ne.jp>
Cc:        ports@freebsd.org, Atanas Gendov <atanas.gendov@gmail.com>, stable@FreeBSD.org, oscartheduck@gmail.com
Subject:   ldconfig -R issue (Was: Problems with icu - 3.8)
Message-ID:  <47B95990.8070808@FreeBSD.org>
In-Reply-To: <20080217212857.c4df5d25.ota@j.email.ne.jp>
References:  <36e46ac80802171226p6a18997ao21e03b626425695e@mail.gmail.com>	<47B8A3B2.8090202@infracaninophile.co.uk>	<1203283417.6223.3.camel@pclmills> <20080217212857.c4df5d25.ota@j.email.ne.jp>

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



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