Comments (4)
Since libcrypt is standalone you will need to install the armhf
dev packages too.
From https://wiki.debian.org/Multiarch/HOWTO
dpkg --add-architecture armhf
Add these to /etc/apt/sources.list.d (the normal mirrors don't seem to have armhf)
deb [arch=armhf] http://ports.ubuntu.com/ focal main restricted
deb [arch=armhf] http://ports.ubuntu.com/ focal-updates main restricted
apt-get update
(there may be 404s from armhf
not existing on the normal mirror, you can probably solve that by adding [arch=amd64] to those lines in /etc/apt/sources.list)
apt install libcrypt-dev:armhf
Then Dropbear configure should run successfully.
from dropbear.
I use another solution:
- download standalone libcrypt from https://github.com/besser82/libxcrypt/
- cross compile it with the following configurations (install to the cross-compiler directory):
tar -xvf libxcrypt-4.4.28.tar.xz cd libxcrypt-4.4.28 ./configure --prefix=/usr/arm-linux-gnueabihf CC=arm-linux-gnueabihf-gcc \ --host=arm
- compile dropbear
Environment:
- dropbear-dropbear-2022.82
- libxcrypt-4.4.28
- arm-linux-gnueabihf-gcc 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
from dropbear.
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?
from dropbear.
mkj's solution worked for me. Are you building on Focal or Jammy host @harpreetsc1992?
from dropbear.
Related Issues (20)
- how to set the unlock time for user using dropbear? HOT 2
- -static-pie: Aiee, segfault! You should probably report this as a bug to the developer HOT 3
- How limit maxsession per user ? HOT 1
- Invalid signature key type allows to trigger an assertion via remote HOT 4
- SSH command execution will overwrite stderr HOT 2
- dropbear hangs when bringing down secondary network interface HOT 3
- Deprecate DSA/DSS support HOT 5
- Feature request: Add support for /etc/nologin
- OpenSSH Client(but not dbclient) connection times out HOT 6
- Building with glibc-1.31+ HOT 4
- cant use -i options!! HOT 1
- build error when SK_KEYS is set and only one of ECDSA or ED25519 HOT 4
- configure --disable-plugin will actually enable it
- musl build fails with --disable-pututline HOT 4
- error: 'struct AuthState' has no member named 'pubkey_options' HOT 1
- Dropear on musl uses utmp/wtmp invalidated paths from paths.h HOT 1
- Request: disable weak and suspect crypto HOT 3
- Does it support Windows? HOT 1
- compression issue
- Noob question: I want to change host key on my Remarkable 2 tablet HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dropbear.