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

Unable to install on Debian 12 #93

Open
hax0rbana-adam opened this issue Jan 19, 2025 · 1 comment
Open

Unable to install on Debian 12 #93

hax0rbana-adam opened this issue Jan 19, 2025 · 1 comment

Comments

@hax0rbana-adam
Copy link

Problem

When running ./install-linux.sh on Debian 12, the serial program failed to run due to a linking error.

./serial-ubuntu-latest/serial: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./serial-ubuntu-latest/serial)

Solution

Include a version of serial with the release package that will work with Debian 12 (and other distros with the same version of GLIBC).

Workaround

Compile serial from source and use the resulting executable.

# Start from the directory that you unpacked the release into
sudo apt install -y cargo
git clone https://github.com/EFForg/rayhunter
cd rayhunter/serial
cargo build
cd ../..
sed -i 's|./serial-ubuntu-latest/serial|./rayhunter/target/debug/serial|g' install-linux.sh
./install-linux.sh
@hax0rbana-adam
Copy link
Author

I'm not much of a Microsoft fan, but I think getting serial compiled for Debian might just be a matter of adding a few lines here and waiting for Microsoft to run the CI job.

The linux-install.sh script would still need to be updated, perhaps by looking at the output of lsb_release -a or similar to determine which version of serial should be used.

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

No branches or pull requests

1 participant