kmon icon indicating copy to clipboard operation
kmon copied to clipboard

FYI: Ubuntu gives "note: /usr/bin/ld: cannot find -lxcb-render" => needs: libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev

Open sanderjo opened this issue 4 years ago • 2 comments

On Ubuntu 20.04, I did

sudo apt-get install cargo libxcb1-dev
cargo install kmon

but that resulted in:

  = note: /usr/bin/ld: cannot find -lxcb-render
          /usr/bin/ld: cannot find -lxcb-shape
          /usr/bin/ld: cannot find -lxcb-xfixes
          collect2: error: ld returned 1 exit status

After

sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev

things went OK: a fresh binary /home/sander/.cargo/bin/kmon

So those libraries are needed too, and are not installed by installing libxcb1-dev ? If so, shall I sent a PR for the README.md?

sanderjo avatar Apr 02 '20 08:04 sanderjo

Yeah, looks like they are not installed with libxcb1-dev You can create a PR about this issue and give information here. That would be good.

orhun avatar Apr 02 '20 08:04 orhun

Almost same on Debian testing here: needed to install libxcb-shape0-dev and libxcb-xfixes0-dev besides libxcb1-dev for kmon to compile with cargo

pascaldaniela avatar Jul 31 '20 13:07 pascaldaniela