-
Notifications
You must be signed in to change notification settings - Fork 89
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
official docker image linking error #113
Comments
The error message is telling you to install the lxcb-shape library. |
Thanks for your help. I don't mean this to sound critical i appreciate that you guys are doing amazing things with no doubt limited resources. I installed that (which didnt fix the build but led me to my next missing dependency) and then after some further searching around discovered i also needed libxcb-composite0-dev as you have made clear it is not transparent what is missing. My issue is more to do with the behaviour of cargo as a dependency management tool. I would expect as is the case with NPM or PYPY that cargo would manage the installation of sub-dependencies? and that i shouldn't need to install these things on top of the official docker image? |
That would probably be better directed to https://github.com/rust-lang/cargo.
Are you requesting that the official docker image install every |
This program which builds fine on mac will also not run after cargo finally gave me: Finished release [optimized] target(s)
refers to: |
I will do so |
My very simple cli program wont compile in the official rust image but will compile on mac. The official image shouldn't need tinkering to build.
to reproduce
build docker image from latest official image:
cargo new test
use this cargo.toml:
cargo build --release or cargo run
result:
error: linking with
ccfailed: exit status: 1
Note: have tried also installing gcc-multilib libgpgme-dev unixodbc unixodbc-dev to no effect and running
RUSTFLAGS='-L /db2-query/clidriver/lib' cargo build --release
to no effect.
The text was updated successfully, but these errors were encountered: