Pavel Sokolov
2006-Sep-16 12:13 UTC
sshd failed to update ( /libexec/ld-elf.so.1: Shared object "libbsm.so.1" not found, required by "sshd" )
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
John Baldwin
2006-Sep-16 13:11 UTC
sshd failed to update ( /libexec/ld-elf.so.1: Shared object "libbsm.so.1" not found, required by "sshd" )
On Saturday 16 September 2006 15:12, 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:Use NO_AUDIT=yes in your build and see if that gives you a working sshd. (i.e. make NO_AUDIT=yes depend && make NO_AUDIT=yes && make NO_AUDIT=yes install) -- John Baldwin
Oleg D.
2006-Sep-16 13:58 UTC
sshd failed to update ( /libexec/ld-elf.so.1: Shared object "libbsm.so.1" not found, required by "sshd" )
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 ldconfig Try 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3233 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060916/87acfcac/smime.bin
Pavel Sokolov
2006-Sep-16 14:14 UTC
sshd failed to update ( /libexec/ld-elf.so.1: Shared object"libbsm.so.1" not found, required by "sshd" )
> > # 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: > > Use NO_AUDIT=yes in your build and see if that gives you a working sshd. > (i.e. make NO_AUDIT=yes depend && make NO_AUDIT=yes && > make NO_AUDIT=yes install) > > John BaldwinIt works ! Thanks! -- Pavel Sokolov