Giter Club home page Giter Club logo

Comments (4)

mkj avatar mkj commented on August 23, 2024 1

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.

Doerthous avatar Doerthous commented on August 23, 2024 1

I use another solution:

  1. download standalone libcrypt from https://github.com/besser82/libxcrypt/
  2. 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
    
  3. 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.

harpreetsc1992 avatar harpreetsc1992 commented on August 23, 2024

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.

thom-nic avatar thom-nic commented on August 23, 2024

mkj's solution worked for me. Are you building on Focal or Jammy host @harpreetsc1992?

from dropbear.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.