On Wednesday, 2 February 2000 at 9:37:44 +1030, Greg Lehey wrote:
> On Tuesday, 1 February 2000 at 16:08:44 +0100, Eric Jacoboni wrote:
>> Max Khon <[EMAIL PROTECTED]> writes:
>>> actually instructions are wrong.
>>> you can't build xinstall before `make buildworld' now with old libc.
>>
>> I have to do buildworld _first_, then build xinstall _without_
>> cleaning, then make a installworld.
>
> I've been trying to build a world for a week now. It's not as simple
> as that. I can install the new libc with an old version of install,
> then build xinstall and install it, and I still get these errors. On
> one occasion did a complete installworld (less xinstall) with the old
> version of install, but the next make world (with new xinstall) still
> failed. I'm investigating, but something else seems to be wrong. My
> best guess is that the C library isn't being built correctly.
Well, I've found the problem: I was using the wrong libraries after
all. Sure, I checked, but what I was checking for was lib/libc.so.4,
and that's what I had, unfortunately on the wrong system.
Specifically, it seems that ldconfig -m doesn't work the way I
thought. During the system startup, I had effectively:
ldconfig /usr/lib/compat /usr/X11R6/lib /usr/X11R6/lib/aout /usr/local/lib
ldconfig -m /freebie/usr/lib /T/local/lib /freebie/usr/X11R6/lib
The second list of directories are on another -CURRENT machine, one
older than the one I'm building on. I do this to have access to
programs on that machine (specifically the ones in its /usr/local,
which is mounted on /T/local). But it seems that the -m option
*replaces* all the local libraries with the ones that it finds, so my
libc was /freebie/usr/lib/libc.so.4, which was old.
> I'm also getting:
>
> $ rlogin localhost
> /usr/libexec/ld-elf.so.1: rlogin: Undefined symbol "rcmd_af"
This is gone as well now.
Greg
--
Finger [EMAIL PROTECTED] for PGP public key
See complete headers for address and phone numbers
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message