tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: Problem with "chown"



> I've found that I have two files on with same name
> on several of my systems:
> 
> 
> -r-xr-xr-x  2 root  wheel  9256 Feb  2 16:54 /usr/sbin/chown
> MD5 (/usr/sbin/chown) = fce92081f7907b04f0063e2f17f7f4e6
>   9256  Feb  2  16:54  /usr/sbin/chown
> above seems to work as expected
> 
> 
> -r-xr-xr-x  1 root  wheel  9193 May 23 06:02 /sbin/chown
> MD5 (/sbin/chown) = bd76dbd35bd23c59dbf224c831387a86
>   9193  May 23  06:02  /sbin/chown
> this gives an error
> /sbin/chown: Undefined PLT symbol "_libc_init" (symnum =17)
> 
> 
> I've not yet tracked down where the broken version 
> comes from, cdrom or build from source or other.
> 
> 
> Anyone else seen this?

you've got netbsd-5 and netbsd-6 files installed together.
since /sbin/init is the newer one, i'm going to assume you
installed netbsd-6 and then netbsd-6, and that's how it got
into this state.

_libc_init is a symbol needed by newer programs in netbsd,
and provided by the libc.so in netbsd-6.


.mrg.


Home | Main Index | Thread Index | Old Index