ldconfig problem after upgrade 4.11 to 5.5

Kris Kennaway kris at obsecurity.org
Tue Aug 21 23:33:21 PDT 2007


On Wed, Aug 22, 2007 at 07:06:19AM +0200, Martin Schweizer wrote:
> Hello Kris
> 
> Am Wed, Aug 22, 2007 at 06:51:18AM +0200 Martin Schweizer schrieb:
> > Am Wed, Aug 22, 2007 at 12:37:25AM -0400 Kris Kennaway schrieb:
> > > On Wed, Aug 22, 2007 at 06:22:46AM +0200, Martin Schweizer wrote:
> > > > After I updated my 4.11 to an 5.5 system (following /usr/src/UPDATING), I get 
> > > > around 63 error messages while the system boot up:
> > > > 
> > > > ldconfig: /var/run/ld.so.hints: No such file or directory
> > > >           search: trailing characters ignored
> > > >           No such file or directory
> > > >         0: - lmalloc.1.1: trailing characters ignored. No such file or 
> > > > directory
> > > > ...
> > > > ...
> > > > 
> > > Looks like it might be a broken symlink.
> > > 
> > > Why are you updating to 5.5 though?  You should be using 6.2.
> > 
> > If I'm understanding /usr/src/UPDATING correct I should first update to 5.5 
> > and then to 6.2? Any ideas where I can check this symlink?
> 
> In /etc/defaults/rc.conf I find some pathes which are not valid:
> 
> ldconfig_local_dirs="/usr/local/libdata/ldconfig /usr/X11R6/libdata/ldconfig"
>                         # Local directories with ldconfig configuration files.
> ldconfig_local32_dirs="/usr/local/libdata/ldconfig32 /usr/X11R6/libdata/ldconfig32"
>                         # Local directories with 32-bit compatibility ldconfig
> 
> Is this the problem?

No, shouldn't be.  You have something left behind on your system that
is causing problems.  Perhaps it was from an even older version than
4.11, if you had done previous upgrades from e.g. 3.x.

Kris


More information about the freebsd-questions mailing list