ldconfig problems: FIXED

Chuck Robey chuckr at chuckr.org
Sun Mar 9 12:08:00 PDT 2008

Hash: SHA1

Chuck Robey wrote:
> I have had a small horde of little problems crop up, right after I finished
> getting my raid disk fixed.  I announced most of them on hackers, but this
> one seems to me to be rather more likley to be at least partially the fault
> that I run FreeBSD-current, so I am bringing it up here.
> Just before I go multiuser I get the normal annoucement from ldconfig,
> announcing the addition of several different paths,  Well, I see that, and
> it looks fine, but right afterwards, i see several hundred extra lines, all
> looking pretty much on the same way as these 5 example lines:
> ldconfig: ®: No such file or directory
> ldconfig: ÿÿÿÿÿÿÿÿø°: No such file or directory
> ldconfig: ÿÿÿÿ@³: No such file or directory
> ldconfig: ´: No such file or directory
> ldconfig: ÿÿÿÿÿÿÿÿW¶: No such file or directory
> I spent about an hour hunting for problems, but I can't spot what this is,
> anybody else feel like hazarding a guess?  I appreciate even wacky ideas,
> because it's those wacky ones that usually prod me into figuring it out
> myself, so don't feel bashful about helping, I won't jump down your throat
> for the sillliest answers, I promise.
> Thanks, guys.
> BTW, I didn't announce ALL my problems, I hit two on to hackers, and one
> here, but I have an audio one at the same time, and I figure the chances
> are too high that it's a secondary problem to one of the 3 I have shown you
> guys, so I'm going to hold my breath on that one, but I want to restart
> seeing my dvd's again, that's for sure.  I'm hoping, hoping, hoping ...

Remember this hoary old thing?  I really hate to debug big, interwoven
shell scripts like this one obviously was, but I did finally track it down,
by adding about 10^^9 diagnostic "echo" statements.  It was my (very early
in the install) setting of X11R6 paths for the ld_library_paths in rc.conf,
and as soon as I made sure those paths were out of there, my weird listings
went with them.

Yes, I know I could have spenmt another 9 months and gotten it down to the
specific library.  As soon as I can figure out a way to reliably get
FreeBSD to stick the X stuff back in X11R6 like it used to do, I will go
back and fix it all.  Right now, if you try it, there are a ton of little
land mines scattered throughout ports, to blow you up, so I can't have it
my way anymore, and I might as well give up and play the way you folks have
allowed things to drift.

I just really, really do wish you never ever let LOCALBASE go, the way that
most Linux distros have done.  I really dislike that, mixing local things
with the system stuff.
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the freebsd-current mailing list