buildworld error v1.8 - undefined reference to `EVP_sha256'

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Thu Feb 1 05:51:10 PST 2007


On Wed, Jan 31, 2007 at 03:10:21PM -0800, j s wrote:
> cc -O -pipe -mtune=pentiumpro
> -I/usr/src/secure/libexec/sftp-server/../../lib/libssh
> -I/usr/src/secure/libexec/sftp-server/../../../crypto/openssh-4
> -L/usr/pkg/lib -o sftp-server sftp-server.o sftp-common.o -lssh
~~~~~~~~~~~~~~~~

You have something similar to this

LDFLAGS=	-L/usr/pkg/lib

in /etc/make.conf?  Try commenting out, or use a custom make.conf
only for {build,install}{kernel,world} to avoid this.  You can use
$__MAKE_CONF to switch make.conf files:

cd /usr/src
env __MAKE_CONF=/etc/src.conf make buildworld

Cheers.





More information about the Users mailing list