I'm trying to build alpine from the github repo. It never worked very well with libressl
so I've installed openssl from homebrew. When I adjust the include and lib paths, the
config script fails:
checking if OpenSSL is LibreSSL... no
checking Openssl library version >= 1.0.0c... yes
checking Openssl library version >= 1.1.0... yes
checking for library containing OpenSSL_version_num... no
configure: error: crypto library NOT found
It is trying to compile a test program that calls OpenSSL_version_num() but poking around stackoverflow it looks like that routine has been deprecated and
maybe undeprecated. I've tried both openssl 1.1 and 3, same problem.
Any suggestions? Using nm on the openssl libraries I don't see that routine.
2) You did not mention OS, so guessing MacOS
John Levine <johnl@taugh.com> wrote:
I'm trying to build alpine from the github repo. It never worked very well with libressl
so I've installed openssl from homebrew. When I adjust the include and lib paths, the
config script fails:
checking if OpenSSL is LibreSSL... no
checking Openssl library version >= 1.0.0c... yes
checking Openssl library version >= 1.1.0... yes
checking for library containing OpenSSL_version_num... no
configure: error: crypto library NOT found
It is trying to compile a test program that calls OpenSSL_version_num() but >> poking around stackoverflow it looks like that routine has been deprecated and
maybe undeprecated. I've tried both openssl 1.1 and 3, same problem.
Any suggestions? Using nm on the openssl libraries I don't see that routine.
Well, if you don't see that symbol, then obviously
the library does not have it, right? Anyway:
1) You did not mention github URL, so assuming
https://github.com/alpinemail/alpine
3) You did not mention the exact OpenSSL 3 version
I'm trying to build alpine from the github repo. It never worked very
well with libressl so I've installed openssl from homebrew.
When I adjust the include and lib paths, the config script fails:
checking if OpenSSL is LibreSSL... no
checking Openssl library version >= 1.0.0c... yes
checking Openssl library version >= 1.1.0... yes
checking for library containing OpenSSL_version_num... no
configure: error: crypto library NOT found
checking if OpenSSL is LibreSSL... no
checking Openssl library version >= 1.0.0c... yes
checking Openssl library version >= 1.1.0... yes
checking for library containing OpenSSL_version_num... no
configure: error: crypto library NOT found
It is trying to compile a test program that calls OpenSSL_version_num()
which I see got undeprecated. It's in the include files, and it's there
in the libcrypto library, but I can't get the test build to work. LIBS=-lcrypto to force it to search the library didn't help.
Advice would be appreciated. IF you want I can send you an sh -x trace
of what config does.
On Sun, 17 Sep 2023, John Levine wrote:
It is trying to compile a test program that calls OpenSSL_version_num()
which I see got undeprecated. It's in the include files, and it's there
in the libcrypto library, but I can't get the test build to work.
LIBS=-lcrypto to force it to search the library didn't help.
Advice would be appreciated. IF you want I can send you an sh -x trace
of what config does.
The file confi.log has the information that is needed. Would you mind
sharing it with me?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 489 |
Nodes: | 16 (2 / 14) |
Uptime: | 39:32:06 |
Calls: | 9,669 |
Files: | 13,716 |
Messages: | 6,169,626 |