Score:0

MIPS cross-compile package, libc6-dev-mips-cross, is missing libcrypt

zm flag

I am trying to cross-compile a program for the MIPS architecture that requires libcrypt.

It works on a machine that has the Ubuntu Focal release, and that make sense since I can find libcrypt in the libc6-dev-mips-cross package listing: https://packages.ubuntu.com/focal/all/libc6-dev-mips-cross/filelist

On my newer machine that has Jammy, the compile isn't working because it is missing libcrypt. I can see that it is missing in the package listing: https://packages.ubuntu.com/jammy/all/libc6-dev-mips-cross/filelist

Why was libcrypt removed? Is there a way to get it on my Jammy machine through the package manager? If I have to cross-compile it myself, what's the best way to do that?

Hector Colon avatar
zm flag
In case anyone comes across this: in an attempt to fix my issue, I cross-compiled openssl, but that actually provides libcrypto and not libcrypt. libcrypt comes from glibc. To avoid having to cross-compile glibc, I gave up on trying to compile the target application (Dropbear) with password authentication enabled, and just went with key authentication instead (no libcrypt needed).
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.