From owner-freebsd-stable@FreeBSD.ORG Sat Oct 7 09:48:59 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DCF316A412 for ; Sat, 7 Oct 2006 09:48:59 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9372E43D49 for ; Sat, 7 Oct 2006 09:48:55 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 651B65F9A; Sat, 7 Oct 2006 13:48:54 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 40E635F5F; Sat, 7 Oct 2006 13:48:54 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id k979mtsM001128; Sat, 7 Oct 2006 13:48:55 +0400 (MSD) (envelope-from ru) Date: Sat, 7 Oct 2006 13:48:55 +0400 From: Ruslan Ermilov To: Tobias Roth Message-ID: <20061007094855.GA156@rambler-co.ru> References: <20061007090725.GA3229@droopy.unibe.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <20061007090725.GA3229@droopy.unibe.ch> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: stable@freebsd.org Subject: Re: buildworld: undefined reference to `SHA256_Update' X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Oct 2006 09:48:59 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 07, 2006 at 11:07:25AM +0200, Tobias Roth wrote: > Hi >=20 > I get this buildworld error with a reshly updated RELENG_6: >=20 >=20 > cc -O2 -pipe -fno-strict-aliasing -march=3Dpentium-m -I/usr/src/secure/li= bexec/sftp-server/../../../crypto/openssh -include ssh_namespace.h -DNO_IDE= A -o sftp-server sftp-server.o sftp-common.o -lssh -lcrypt -lcrypto -lz > /usr/obj/usr/src/tmp/usr/lib/libssh.so: undefined reference to `SHA256_Up= date' > /usr/obj/usr/src/tmp/usr/lib/libssh.so: undefined reference to `SHA256_Fi= nal' > /usr/obj/usr/src/tmp/usr/lib/libssh.so: undefined reference to `SHA256_In= it' > *** Error code 1 >=20 > Stop in /usr/src/secure/libexec/sftp-server. >=20 >=20 > I was away for the last two weeks, so maybe this is already known? > All I did so far was check the latest security advisories and google, > but that turned out nothing usable. >=20 Verify that libssh.so in objdir lists libmd as its dependency. Verify that libmd.so in objdir has these functions. You should get output similar to this: : # env LD_LIBRARY_PATH=3D/usr/obj/usr/src/tmp/lib:/usr/obj/usr/src/tmp/usr= /lib ldd /usr/obj/usr/src/tmp/usr/lib/libssh.so : /usr/obj/usr/src/tmp/usr/lib/libssh.so: : libz.so.3 =3D> /usr/obj/usr/src/tmp/lib/libz.so.3 (0x80097d000) : libgssapi.so.8 =3D> /usr/obj/usr/src/tmp/usr/lib/libgssapi.so.8 (= 0x800a91000) : libkrb5.so.8 =3D> /usr/obj/usr/src/tmp/usr/lib/libkrb5.so.8 (0x80= 0ba0000) : libasn1.so.8 =3D> /usr/obj/usr/src/tmp/usr/lib/libasn1.so.8 (0x80= 0ce4000) : libcom_err.so.3 =3D> /usr/obj/usr/src/tmp/usr/lib/libcom_err.so.3= (0x800e0d000) : libmd.so.3 =3D> /usr/obj/usr/src/tmp/lib/libmd.so.3 (0x800f0f000) : libroken.so.8 =3D> /usr/obj/usr/src/tmp/usr/lib/libroken.so.8 (0x= 80101b000) : libcrypto.so.4 =3D> /usr/obj/usr/src/tmp/lib/libcrypto.so.4 (0x80= 1129000) : libcrypt.so.3 =3D> /usr/obj/usr/src/tmp/lib/libcrypt.so.3 (0x8013= 70000) : # nm /usr/obj/usr/src/tmp/usr/lib/libmd.so | grep SHA256_Update : 0000000000003820 T SHA256_Update : #=20 Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD4DBQFFJ3gHqRfpzJluFF4RAiDXAJjSQJcQbsGO0XMawzQsdq+vXpSnAJ4r86BO eokR9zsw3bDDYF6QtVZS7Q== =7BLB -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--