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.
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...
-
-
Having zlibc installed didn't make a difference. And prost is just the protobuf library - not sure why it would need zlibc :( I really dislike feeling like a second-class Rust citizen by building my code on Ubuntu. This is the third time this month deps missing broke builds
-
Very odd. You installed the dev version? I belive ubuntu is libz-dev?
- 1 more reply
New conversation -
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.