mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-02 19:26:56 -05:00
Error occurred during installation on ubuntu system #2676
Labels
No labels
bug
documentation
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
question
unreproducible
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rustdesk-rustdesk#2676
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ekko-G0d on GitHub (May 9, 2024).
Bug Description
error: failed to run custom build command for
pam-sys v1.0.0-alpha4Caused by:
process didn't exit successfully:
/home/ekko/myappdata/rustdesk/rustdesk/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/ekko/.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=1environment variable to display a backtracewarning: build failed, waiting for other jobs to finish...
How to Reproduce
When executing the build command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
git clone https://github.com/rustdesk/rustdesk
cd rustdesk
mkdir -p target/debug
wget https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.lnx/x64/libsciter-gtk.so
mv libsciter-gtk.so target/debug
VCPKG_ROOT=$HOME/vcpkg cargo run
Expected Behavior
successfully installed rustdesk
Operating system(s) on local side and remote side
ubuntu
RustDesk Version(s) on local side and remote side
1.2.3-2
Screenshots
Additional Context
No response
@rustdesk commented on GitHub (May 9, 2024):
#763
@luxingshun commented on GitHub (Dec 6, 2024):
I meet the same issue on rustdesk version 1.3.5,
issue:
error: failed to run custom build command for
pam-sys v1.0.0-alpha4 (https://github.com/rustdesk-org/pam-sys?branch=fix%2Fv1.0.0-alpha4_gnuc_va_list#3337c9bb)os:
ubuntu18.04
how fixed this issue???
@apzc2529 commented on GitHub (Apr 19, 2025):
Fix it by install libpam0g-dev package:
sudo apt install libpam0g-dev