joserp93

joserp93

Undefined reference to crypt

Hello everyone, I have this problem when compiling the latest version of nerves for rpi4 when I added some extra packages. I had seen the solution on the Slack channel for the conservation is no longer there. If you help me solve it, it would be a great help. I know it’s an issue with the gcc compiler.

/home/ubuntu/nerves_system_rpi4_intuitivo/.nerves/artifacts/nerves_system_rpi4_intuitivo-portable-1.27.0/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-nerves-linux-gnu/13.2.0/../../../../aarch64-nerves-linux-gnu/bin/ld: auth.o: in function 'cupsdAuthorize': buildroot/build/cups-2.4.7/scheduler/buildroot/build/cups-2.4.7/scheduler/auth.c:689: undefined reference to 'crypt'

Most Liked

fhunleth

fhunleth

Co-author of Nerves

The crypt function was removed by default in glibc. See Making sure you're not a bot!. It looks like the answer is to enable libxcrypt in Buildroot.

Where Next?

Popular in Discussions Top

AlexMcConnell
The reason that Rails is as popular as it is is because it’s very easy for relatively inexperienced developers to get a lot of work done....
588 20142 166
New
rower687
Hi all, I’ve been reading a lot about the “let it crash” term and how supervising processes and the whole messaging passing make an elixi...
New
pillaiindu
In django there is a cache framework backed by memcached. Rails also puts a lot of emphasis on caching, and even the idea of russian-doll...
New
New
slashdotdash
Phoenix Live View is now publicly available on GitHub. Here’s Chris McCord’s tweet announcing making it public.
New
eteeselink
Hi all, In the last days, two things happened: A blog post titled “They might never tell you it’s broken” made the rounds. It’s about ...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

Other popular topics Top

minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New

We're in Beta

About us Mission Statement