Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2003 19:31:31 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        "Jacques A. Vidrine" <nectar@freebsd.org>
Cc:        Chuck Swiger <cswiger@mac.com>, freebsd-stable@freebsd.org
Subject:   Re: OpenSSL build failure identified...
Message-ID:  <20030224173131.GB89139@sunbay.com>
In-Reply-To: <20030224163228.GA92511@madman.celabo.org>
References:  <3E5A4591.4070503@mac.com> <20030224163228.GA92511@madman.celabo.org>

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

--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




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