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

Update Dockerfile for missing pam dev lib #8078

Merged
merged 1 commit into from
May 18, 2024

Conversation

ddsardella
Copy link
Contributor

After failing to build with this due to the missing pam development library package I have added it to the DockerFile for the build image.

to be more specific i was getting the error:
Compiling�pam-sys v1.0.0-alpha4 �error�failed to run custom build command for pam-sys v1.0.0-alpha4`

Caused by:
process didn't exit successfully: /home/user/rustdesk/target/debug/build/pam-sys-8f2e6b1acacb4aab/build-script-build (exit status: 101)
--- stdout
cargo:rustc-link-lib=pam
cargo:rustc-link-lib=pam_misc
cargo:rerun-if-changed=wrapper.h

--- stderr
wrapper.h:1:10: fatal error: 'security/pam_appl.h' file not found
wrapper.h:1:10: fatal error: 'security/pam_appl.h' file not found, err: true
thread 'main' panicked at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pam-sys-1.0.0-alpha4/build.rs:69:10:
Unable to generate bindings: ()
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace`

After adding to the Dockerfile the install of 'libpam0g-dev' it now completes the build.

After failing to build with this due to the missing pam development library package I have added it to the DockerFile for the build image
@rustdesk rustdesk merged commit 1dd7cd9 into rustdesk:master May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants