Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sanderjo opened this issue Apr 2, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@sanderjo
Copy link

sanderjo commented Apr 2, 2020

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 sanderjo added the bug Something isn't working label Apr 2, 2020
@sanderjo sanderjo changed the title FYI: Ubuntu gives "note: /usr/bin/ld: cannot find -lxcb-render" => libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev FYI: Ubuntu gives "note: /usr/bin/ld: cannot find -lxcb-render" => needs: libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev Apr 2, 2020
@orhun
Copy link
Owner

orhun commented Apr 2, 2020

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.

@pascaldaniela
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants