Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2006 23:28:47 +0400
From:      "Oleg D." <perl@ipchains.ru>
To:        Pavel Sokolov <artdesign@mail.ru>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: sshd failed to update ( /libexec/ld-elf.so.1: Shared object	"libbsm.so.1" not found, required by "sshd" )
Message-ID:  <450C506F.4010007@ipchains.ru>
In-Reply-To: <006101c6d9c4$1e7c0720$7b8dfea9@crea7or>
References:  <006101c6d9c4$1e7c0720$7b8dfea9@crea7or>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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.

[-- Attachment #2 --]
0	*H
010	+0	*H
00Cv|/5FCm5|g0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
060916114055Z
070916114055Z0B10UThawte Freemail Member10	*H
	perl@ipchains.ru0"0
	*H
0
r2KZS4vcn7
?Pyr--<ʜ4׷(?ʣ\vK!=l&;B@=_^$3.),٭	'vk;03hi)kJݥ?ئ@!A'ec\;%p=H$Ix?N2jܯbiZaXpovV"V6l'c-0+0U0perl@ipchains.ru0U00
	*H
u
2mB8@Ҵ
j9Ja2$i}4|2B_L1"/A䟵		 l{7;diE3>=H鋱\6jfND	SEH+00Cv|/5FCm5|g0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
060916114055Z
070916114055Z0B10UThawte Freemail Member10	*H
	perl@ipchains.ru0"0
	*H
0
r2KZS4vcn7
?Pyr--<ʜ4׷(?ʣ\vK!=l&;B@=_^$3.),٭	'vk;03hi)kJݥ?ئ@!A'ec\;%p=H$Ix?N2jܯbiZaXpovV"V6l'c-0+0U0perl@ipchains.ru0U00
	*H
u
2mB8@Ҵ
j9Ja2$i}4|2B_L1"/A䟵		 l{7;diE3>=H鋱\6jfND	SEH+0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1d0`0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAv|/5FCm5|g0	+0	*H
	1	*H
0	*H
	1
060916192847Z0#	*H
	1"M@R&0;0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+71x0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAv|/5FCm5|g0*H
	1xv0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAv|/5FCm5|g0
	*H
9bG۩at0xyXkQ5DK:]Ǫ)fڲ}s6l|B?la14/5Qa#؜k0_9ئDs/בsڿm}Įf[;	1A<R,}[V<`sv*oS+&(VPPw0'\d-5K
E>0r;-̑e+x(G[!

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?450C506F.4010007>