Thursday, May 31, 2018

Re: The compiler error about modifying libcrypto

On Thu, May 31, 2018 at 10:50:35AM +0800, Nan Xiao wrote:
> My OS is OpenBSD 6.3.

-current?

If not, please install the latest snapshot before trying to build
-current from source.

See also https://www.openbsd.org/faq/current.html

> Since now the -current modify the interface of
> libcrypto, there is error in "make":
> ......
> ===> lib/libcrypto

Don't do "make" from /usr/src.

Please read https://man.openbsd.org/release.8 and follow at least
up through step 3.

If you have things prepared as described in release(8) and you do
"make build", it will do "make includes" and install the current
headers, thus preventing the compilation failure you ran into.

No comments:

Post a Comment