sshd failed to update ( /libexec/ld-elf.so.1: Shared object "libbsm.so.1" not found, required by "sshd" )

Pavel Sokolov artdesign at mail.ru
Sat Sep 16 12:12:59 PDT 2006


I have RELENG_6 ( just updated and installed kernel , 6_2 prerelease )

and by mistake ( or my stupid hands ) I did :
cd /usr/src/secure
make install

now sshd does not work. it tells:
/libexec/ld-elf.so.1: Shared object "libbsm.so.1" not found, required by "sshd"

I tried to build the system again but the result is same.

I did make cleandir ( twice ) in /usr/src and tried this solution:

# cd /usr/src/secure/lib/libssh
# make obj && make depend && make && make install
# cd /usr/src/secure/usr.sbin/sshd
# make obj && make depend && make && make install

but build fails at:

/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c:50:31: bsm/audit_uevents.h: No such file or directory
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c:51:30: bsm/audit_record.h: No such file or directory
mkdep: compile failed
*** Error code 1

But make buildworld did the job without error ( at the end of compilation )
If I try to copy libbsm.so/a/1 ( or install libbsm ) to the /usr/lib - sshd can be launched, , but does not allow to login (
abort connection ) without any messages in the log.

--
Pavel Sokolov






More information about the freebsd-stable mailing list