You are not logged in.
Hi all,
While trying to update using `yay`, I received the following message below:
ldconfig: /usr/lib/libstd-975ad26df43f3092.so is not an ELF file - it has the wrong magic bytes at the start.
I checked what this file could be and it redirects to
/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-975ad26df43f3092.so
I have search for libstd-975ad26df43f3092.so without success.
It seems this error has been blocking other libraries to be updated as well...
Did anyone have the same problem in the past?
Thanks for your help!
Offline
Are you using the rust package? Because that is one that would own the symlink and actual file in question ![]()
If you're having the rust package installed, could you send the output of "pacman -Qkk rust"?
Offline
Hey,
Thanks for your response. That's part of the problem.
This is what I get from `pacman -Qkk rust`
error: package 'rust' was not found
But if I run `pacman -S rust`, I get I long list of files like:
rust: /usr/bin/cargo exists in filesystem
rust: /usr/bin/cargo-clippy exists in filesystem
[...]
rust: /usr/share/man/man1/rustdoc.1.gz exists in filesystem
Errors occurred, no packages were upgraded.
So I do not have rust install, I am unable to install it, and I get the "wrong magic bytes" error message when I run `yay`
As an arch noob, I am struggling to figure out what to try first! Hah! ![]()
Offline
there are 2 archlinux packages that provide /usr/bin/cargo, rust & rustup .
Please post pacman -Qs rust
Added
And please use code tags instead of ins . The yellow highlight hurts the eyes.
https://bbs.archlinux.org/help.php#bbcode
Last edited by Lone_Wolf (2024-09-12 13:11:51)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
pacman -Qs rust
local/ca-certificates-mozilla 3.104-1
Mozilla's set of trusted CA certificates
local/dnssec-anchors 20190629-4
DNSSEC trust anchors for the root zone
local/python-cramjam 2.8.3-3
Thin Python bindings to de/compression algorithms in Rust
local/python-pydantic-core 1:2.23.2-1
Core validation logic for pydantic written in rust
local/python-rpds-py 0.19.0-1
Python bindings to the Rust rpds crate for persistent data structures
local/tpm2-tss 4.0.1-1
Implementation of the TCG Trusted Platform Module 2.0 Software Stack (TSS2)
Offline
So no pacman-installed cargo providing package.
There probably was a rust/cargo install done by something else then pacman .
run and post the output of
$ cargo --version
$ pacman -Qo /usr/bin/cargoDisliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
$ grep " rust" /var/log/pacman.logMay be useful to see as well.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline