-
Notifications
You must be signed in to change notification settings - Fork 404
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
missing crypt on glibc 2.31 #143
Comments
Since libcrypt is standalone you will need to install the
Add these to /etc/apt/sources.list.d (the normal mirrors don't seem to have armhf)
Then Dropbear configure should run successfully. |
I use another solution:
Environment:
|
I used the two approaches in the answer. I am still getting the same error. What information can I provide further in order to fix these issues? |
mkj's solution worked for me. Are you building on Focal or Jammy host @harpreetsc1992? |
I am cross-compiling dropbear on Ubuntu host for arm-linux-gnueabihf target. I had been using Ubuntu Bionic (glibc 2.27) building dropbear release v2017.75. I want to upgrade to Ubuntu Focal host which uses glibc 2.31 and build the most recent dropbear release. It seems versions 2018+ fail on Ubuntu Focal host with the following:
During configure
Then during make:
As I understand from this thread crypt is no longer bundled in glibc. I have tried the various solutions in that post but to no avail. Wondering if someone can help me with directions for building against glibc 2.31.
I have tried adding the following to
localoptions.h
but it doesn't seem to help:My configure and make commands look like this:
I think maybe I need to add
CFLAGS
andLDFLAGS
?The text was updated successfully, but these errors were encountered: