Pavel Sokolov wrote:
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
man ldconfigTry to `ldconfig -m /PATH/TO/LIB` - here PATH_TO_LIB not meaning point to lib as it s but only on dir where it placed.
if it works fine insert into /etc/defaults/rc.conf in ``ldconfig'' section. Hope it works.And use portupgrade for the future, because it places copy to /usr/local/lib/compat of previous versions of needed libs...
-- Oleg D. -- don't believe every word people use to say, they might be wrong. an undefined problem has infinitive number of solutions.
smime.p7s
Description: S/MIME Cryptographic Signature
