Skip to content

Trying to install OpenSSL on Raspberry Pi 4 but keep getting an error when trying to execute make #21599

Answered by tom-cosgrove-arm
r8drfn89 asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, uname is saying we have aarch64, so a 64-bit kernel, but LONG_BIT is giving 32, hence a 32-bit OS.

I don't know Raspbian well enough to know why it's reporting 64-bit from uname but 32-bit from LONG_BIT, some weird combination of 32-bit userland on 64-bit kernel, maybe?

Whatever, ./Configure linux-armv4 is your best bet.

Note that Configure output should look like either

pi32 $ ./Configure
Configuring OpenSSL version 3.1.1 for target linux-armv4
Using os-specific seed configuration
Created configdata.pm
Running configdata.pm
Created Makefile.in
Created Makefile
Created include/openssl/configuration.h

**********************************************************************
***          …

Replies: 13 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by paulidale
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
triaged: question The issue contains a question resolved: answered The issue contained a question which has been answered
3 participants
Converted from issue

This discussion was converted from issue #21592 on July 31, 2023 01:35.