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 20070 166
New
New
tmbb
This is a post to discuss the new Phoenix LiveView functionality. From Chris’s talk, it appears that they generate all HTML on the serve...
342 18595 126
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
klo
Got a question about when to concat vs. prepending items to list then reversing to achieve appending. So i know lists boil down to [1 | ...
New
paulanthonywilson
I like Umbrella projects and pretty much always use them for personal Elixir stuff, especially Nerves things. But I don’t think this is ...
New
shishini
I think this twitter post and youtube video didn’t get as much attention as I hoped I am still new to Elixir, so can’t really judge ...
New

Other popular topics Top

lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40082 209
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44608 311
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
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