restbed icon indicating copy to clipboard operation
restbed copied to clipboard

Build issue: "opensslconf.h" file not found

Open nbommersbach opened this issue 4 years ago • 1 comments

Hello, I tried to build restbed as stated in the README file using CMake after recursively cloning it from github.

The step make install returns the following issue:

restbed/dependency/openssl/include/openssl/e_os2.h:13:11: fatal error: 'openssl/opensslconf.h' file not found

I looked at the corresponding folder and found out that the opensslconf.h.in configuring-file was not translated into opensslconf.h for some reason. I am using macOS BigSur 11.5.2.

Does somebody know how to deal with this issue?

nbommersbach avatar Sep 22 '21 15:09 nbommersbach

This issue is somewhat old now, and I'm far from a restbed expert, but here's what worked for me:

cd dependency/openssl ./config make

Then return to the restbed build.

This wasn't, of course, immediately obvious; an improvement would be to clarify the error message.

rfgunion avatar Dec 24 '22 14:12 rfgunion