Skip to content
New issue

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

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

Already on GitHub? # to your account

error: could not find native static library ring-core, perhaps an -L flag is missing? #3454

Open
qimeila opened this issue Dec 26, 2024 · 3 comments
Labels
installation error Issues related to installation errors

Comments

@qimeila
Copy link

qimeila commented Dec 26, 2024

when i run "cargo build",i get this error

[funhouse@archlinux ~]$ solana --version
solana-cli 1.18.19 (src:6c6442ff; feat:4215500110, client:Agave)
[funhouse@archlinux ~]$ rustc -V
rustc 1.79.0 (129f3b996 2024-06-10)

@docongminh
Copy link

@qimeila let's try

  • MacOS: xcode-select --install
  • Ubuntu: sudo apt-get update && sudo apt-get install build-essential clang

@acheroncrypto acheroncrypto added the installation error Issues related to installation errors label Dec 27, 2024
@acheroncrypto
Copy link
Collaborator

You probably need to install build-essential (Debian) equivalent for Arch e.g. base-devel.

@qimeila
Copy link
Author

qimeila commented Dec 27, 2024

You probably need to install build-essential (Debian) equivalent for Arch e.g. base-devel.

thanks,BUT i have installed base-devel before
[funhouse@archlinux ~]$ sudo pacman -S base-devel
[sudo] password for funhouse:
warning: base-devel-1-2 is up to date -- reinstalling

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
installation error Issues related to installation errors
Projects
None yet
Development

No branches or pull requests

3 participants