From owner-freebsd-stable Mon Feb 24 9:31:55 2003 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 2A23737B401 for ; Mon, 24 Feb 2003 09:31:53 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9833143FD7 for ; Mon, 24 Feb 2003 09:31:41 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (root@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with SMTP id h1OHVYhF093401 for ; Mon, 24 Feb 2003 19:31:34 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with ESMTP id h1OHVXHR093379 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 24 Feb 2003 19:31:33 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Submit) id h1OHVVMk093374; Mon, 24 Feb 2003 19:31:31 +0200 (EET) Date: Mon, 24 Feb 2003 19:31:31 +0200 From: Ruslan Ermilov To: "Jacques A. Vidrine" Cc: Chuck Swiger , freebsd-stable@freebsd.org Subject: Re: OpenSSL build failure identified... Message-ID: <20030224173131.GB89139@sunbay.com> References: <3E5A4591.4070503@mac.com> <20030224163228.GA92511@madman.celabo.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Pd0ReVV5GZGQvF3a" Content-Disposition: inline In-Reply-To: <20030224163228.GA92511@madman.celabo.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Pd0ReVV5GZGQvF3a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 24, 2003 at 10:32:28AM -0600, Jacques A. Vidrine wrote: > On Mon, Feb 24, 2003 at 11:17:21AM -0500, Chuck Swiger wrote: > > >/usr/obj/usr/src/i386/usr/lib/libssh.so: undefined reference to=20 > > >`EVP_aes_128_cbc' > > >/usr/obj/usr/src/i386/usr/lib/libssh.so: undefined reference to=20 > > >`EVP_aes_192_cbc' > > >/usr/obj/usr/src/i386/usr/lib/libssh.so: undefined reference to=20 > > >`EVP_aes_256_cbc' > > >/usr/obj/usr/src/i386/usr/lib/libssh.so: undefined reference to=20 > > >`HMAC_CTX_cleanup' > > >*** Error code 1 > > >Stop in /usr/src/secure/usr.bin/scp. > > >*** Error code 1 > > >Stop in /usr/src/secure/usr.bin. > >=20 > > I discovered that the build would work fine under /bin/sh, but not unde= r=20 > > my normal shell, which is zsh. > >=20 > > It turns out that having a /usr/local/bin/openssl (from a port-build of= =20 > > openssh-0.9.6g) in the path was causing the problem. Is a build failur= e=20 > > resulting from an interaction with the user's $PATH regarded as a bug? >=20 > I dunno; I always clean my path before buildworld, but I don't see > documentation to that effect. If anyone has an opinion about it, > Ruslan probably does :-) [cc'd] >=20 src/Makefile sets PATH=3D/sbin:/bin:/usr/sbin:/usr/bin before passing buildworld further to src/Makefile.inc1, so I don't see how that could be a problem. Similarly for zsh(1): make(1) uses sh(1) internally, and to make it use another shell, one needs to recompile make(1) with a different DEFSHELL. In any case, this feature isn't even in RELENG_4. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --Pd0ReVV5GZGQvF3a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+WlbzUkv4P6juNwoRAp0fAJ0eKdeUE/p5aRBcGysuB7ImkbAFXgCfWjnb 6Va0SUkyiJNbp1E47wSyM28= =BSyz -----END PGP SIGNATURE----- --Pd0ReVV5GZGQvF3a-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message