certnanny / sscep

SSCEP is a command line client for the SCEP protocol
Other
175 stars 92 forks source link

Sscep version compatible with openssl 3.0.2 15 #150

Closed ishackigozi closed 2 years ago

ishackigozi commented 2 years ago

Hello, I am trying to compile version 0.10.0 on Ubuntu 22.04 LTS. OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022) and am getting this error.

image

checking dependency style of gcc... (cached) gcc3 ./configure: line 13520: syntax error near unexpected token openssl,' ./configure: line 13520:PKG_CHECK_MODULES(openssl, openssl >= 1.1.0)' root@SRA1500003120:~/sscep_dir/sscep-0.10.0# ./configure > output ./configure: line 13520: syntax error near unexpected token openssl,' ./configure: line 13520:PKG_CHECK_MODULES(openssl, openssl >= 1.1.0)

gotthardp commented 2 years ago

This looks like a missing dependency. Please verify you have pkg-config installed.

ishackigozi commented 2 years ago

Thanks for the information, I have installed pkg-config.

Although, I am not having this issue.

image

configure: error: Package requirements (openssl >= 1.1.0) were not met:

No package 'openssl' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables openssl_CFLAGS and openssl_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

gotthardp commented 2 years ago

You need not only the openssl binaries, but also the development portion of it, i.e. openssl-dev.

ishackigozi commented 2 years ago

image

Openssl is already installed

ishackigozi commented 2 years ago

Please ignore, thank you for your help. I installed libssl-dev and everything works.

ishackigozi commented 2 years ago

Thank you @gotthardp