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

error while loading shared libraries: libiniparser.so #568

Open
SherLock707 opened this issue May 29, 2024 · 11 comments
Open

error while loading shared libraries: libiniparser.so #568

SherLock707 opened this issue May 29, 2024 · 11 comments

Comments

@SherLock707
Copy link

Describe the bug

When I launch Cava I get following error:
cava: error while loading shared libraries: libiniparser.so.1: cannot open shared object file: No such file or directory

To Reproduce

Steps to reproduce the behavior:

  1. Open terminal
  2. Run cava

Expected behavior

Cava without error.

Screenshots

image

Desktop (please complete the following information):

  • OS: Arch linux
  • Version: latest
  • WM: Hyprland
  • Kernel: Linux 6.9.2-zen1-1-zen
  • Shell: Fish

Terminal emulator

  • Foot
  • 1.17.2-1

Additional context
It was working fine for past 6 months.
Did not use it for few days, when I tried today, I got this issue.
I have /usr/lib/libiniparser.so

@leombrunk
Copy link

Looks like this https://gitlab.archlinux.org/archlinux/packaging/packages/iniparser/-/commit/11885ca3a924ac52a0329ccf95f8314663f9ebc6
removed the line ln -sf libiniparser.so.1 "${pkgdir}"/usr/lib/libiniparser.so

@karlstav
Copy link
Owner

could be that the package was changed from providing a .1 to not providing a .1. Try doing a complete reinstall of cava.

@eyal670
Copy link

eyal670 commented May 31, 2024

I have the same problem
cava: error while loading shared libraries: libiniparser.so.1: cannot open shared object file: No such file or directory
trying to reinstall cava did not solve the problem

my machine:
OS: Arch Linux x86_64
Kernel: Linux 6.9.2-arch1-1
Shell: zsh 5.9
DE: bspwm
WM: LG3D (X11)
Cursor: Adwaita
Terminal: alacritty 0.13.2
Terminal Font: Hack Nerd Font (12pt)
CPU: Intel(R) Core(TM) i5-8250U (8) @ 3.40 GHz
GPU: Intel UHD Graphics 620 @ 1.10 GHz [Integrated]
Memory: 3.57 GiB / 7.54 GiB

@SherLock707
Copy link
Author

could be that the package was changed from providing a .1 to not providing a .1. Try doing a complete reinstall of cava.

I did try reinstalling before filing here.. error stayed the same.

@karlstav
Copy link
Owner

I thought maybe that a rebuild would make it search for the library again and find the correct one. I don't think that there is anything in the cava build stuff that makes it look for the .1 link or not the .1

You would have to check with the iniparser arch package maintainer why the .1 was removed and how it is supposed to work now.

@mementomori74
Copy link

i have the same problem. using arcolinux (arch based)

@Levvonci
Copy link

Levvonci commented Jun 2, 2024

Same issue here, Arch + Hyprland

@karlstav
Copy link
Owner

karlstav commented Jun 2, 2024

I thought that the linker would look for libiniparser.sowhen doing -liniparser. Normally libiniparser.so whould be a link to libiniparser.so.1 and the the linker would use that file instead, but if it was not a link that should also be fine. However if some update removed the libiniparser.so.1 and made libiniparser.so the only file available then any program linking to libiniparser.so.1 would start failing. However a rebuild should fix that.

did any of you arch people actually clone and build from source?

@Levvonci
Copy link

Levvonci commented Jun 2, 2024

Got a fix, simply uninstalled the aur pkg cava, clone the repo and build it

@mementomori74
Copy link

I thought that the linker would look for libiniparser.sowhen doing -liniparser. Normally libiniparser.so whould be a link to libiniparser.so.1 and the the linker would use that file instead, but if it was not a link that should also be fine. However if some update removed the libiniparser.so.1 and made libiniparser.so the only file available then any program linking to libiniparser.so.1 would start failing. However a rebuild should fix that.

did any of you arch people actually clone and build from source?

nope sorry will do that now

@eyal670
Copy link

eyal670 commented Jun 2, 2024

I can confirm that installing the AUR package cava-git is working as expected

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

6 participants