Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure: error: Could not find exec_prefix for openssl #209

Open
linuxunderground opened this issue Aug 2, 2024 · 3 comments
Open

configure: error: Could not find exec_prefix for openssl #209

linuxunderground opened this issue Aug 2, 2024 · 3 comments
Assignees

Comments

@linuxunderground
Copy link
Contributor

Since version 3.3.x, openssl pkgconfig files have been cleaned and the exec_prefix line was removed (openssl commit : openssl/openssl@2ac569a).

And unfortunately, eid-mw configure relies on exec_prefix :
$ grep -n openssl configure.ac
206:PKG_CHECK_MODULES(SSL, "openssl", [HAVE_OPENSSL=1])
207:PKG_CHECK_VAR(SSL_PREFIX, "openssl", "exec_prefix",, AC_MSG_ERROR([Could not find exec_prefix for openssl]))

And so eid-mw failed to compile with openssl 3.3.x

@linuxunderground
Copy link
Contributor Author

The issue is solved for me because Gentoo patched OpenSSL 3.3.1 (FYI, see https://bugs.gentoo.org/936576)

However, the issue could possibly occur for other linux distributions.

@yoe
Copy link
Member

yoe commented Aug 13, 2024

Yeah, we will indeed see that with other distributions too, so this will need a fix. Reopening.

@yoe yoe reopened this Aug 13, 2024
@yoe
Copy link
Member

yoe commented Aug 13, 2024

@tocharl we look for exec_prefix and set it to SSL_PREFIX, so that the openssl commands in the install-data-hook target of plugins_tools/eid-viewer/Makefile.am can use the path to openssl. We may need to find a different way to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants