Trying to compile a #rustlang crate that requires `prost` on #Ubuntu :
= note: /usr/bin/x86_64-linux-gnu-ld: cannot find -lz
collect2: error: ld returned 1 exit status
I gotta tell ya, I am getting a little sick and tired of random linux dependencies in Rust builds.
-
-
Seems weird that an entire crate would fail to build if I don't have zlib installed.
-
Well, if it needs zlib, it needs it, you know? That said, the crate author could do some work and if you don’t have it installed, build one for you. This is part of the pain of having C dependencies...
- 3 more replies
New conversation -
-
-
Installed zlibc and it had no effect on the prost build
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.