@Tofu_Bone I have the same problem. Re-installing with a forced package rebuild fixed it for me.
Search Criteria
Package Details: cava 0.10.2-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/cava.git (read-only, click to copy) |
---|---|
Package Base: | cava |
Description: | Console-based Audio Visualizer for Alsa |
Upstream URL: | https://github.com/karlstav/cava |
Licenses: | MIT |
Submitter: | CelestialWalrus |
Maintainer: | funilrys |
Last Packager: | funilrys |
Votes: | 170 |
Popularity: | 4.05 |
First Submitted: | 2015-05-05 22:15 (UTC) |
Last Updated: | 2024-05-16 18:44 (UTC) |
Dependencies (15)
- alsa-lib
- fftw (fftw-amdAUR)
- iniparser (iniparser-gitAUR)
- ncurses (ncurses-gitAUR)
- portaudio
- sndio (sndio-gitAUR)
- autoconf (autoconf-gitAUR) (make)
- automake (automake-gitAUR) (make)
- libpipewire (libpipewire-gitAUR, libpipewire-full-gitAUR) (make)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (make)
- m4 (m4-gitAUR) (make)
- portaudio (make)
- sndio (sndio-gitAUR) (make)
- pipewire (pipewire-gitAUR, pipewire-full-gitAUR) (optional)
- pulseaudio (pulseaudio-dummyAUR, pulseaudio-gitAUR) (optional)
Required by (7)
Sources (1)
kmacleod commented on 2017-12-07 14:36 (UTC)
Tofu_Bone commented on 2017-11-27 19:35 (UTC)
Hi, Since the iniparser update, cava won't work. It produce this error:
cava: error while loading shared libraries: libiniparser.so.0: cannot open shared object file: No such file or directory
tried build from source and it worked. Please update
funilrys commented on 2017-08-05 19:58 (UTC) (edited on 2017-08-05 20:13 (UTC) by funilrys)
Thanks for feedback @ibrokemypie.
Before every update, I personally build the package on 2 different computers so I don't understand why I don't have such issues ...
You're diff suggest that we should remove the line with: `sed -i 's;/usr/local;/usr;g' Makefile.am`
But the current version of the PKGBUILD (Please report to https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=cava or https://github.com/funilrys/PKGBUILD/blob/master/cava/PKGBUILD) don't have such line ...
Have a nice day/night,
Fun Ilyrs
ibrokemypie commented on 2017-08-05 11:16 (UTC)
issue is upstream, however the following diff allows this to build fine
--- PKGBUILD 2017-08-05 21:12:00.990439872 +1000
+++ PKGBUILD2 2017-08-05 21:12:50.050440504 +1000
@@ -13,7 +13,6 @@
build() {
cd $pkgname-$pkgver
- sed -i 's;/usr/local;/usr;g' Makefile.am
./autogen.sh
./configure --prefix=/usr
make
ibrokemypie commented on 2017-07-29 09:19 (UTC)
mv -f .deps/cava-cava.Tpo .deps/cava-cava.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -std=c99 -Wall -Wextra -Wno-unused-result -Wno-maybe-uninitialized -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -L/usr/local/lib -Wl,-rpath /usr/local/lib -Wl,-O1,--sort-common,--as-needed,-z,relro -o cava cava-cava.o -liniparser -liniparser -lpthread -lasound -lpulse-simple -lpulse -lm -lfftw3 -lncursesw
libtool: link: gcc -std=c99 -Wall -Wextra -Wno-unused-result -Wno-maybe-uninitialized -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wl,-rpath /usr/local/lib -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o cava cava-cava.o -L/usr/local/lib -liniparser -lpthread -lasound -lpulse-simple -lpulse -lm -lfftw3 -lncursesw
gcc: error: /usr/local/lib: No such file or directory
make[1]: *** [Makefile:492: cava] Error 1
make[1]: Leaving directory '/tmp/makepkg/cava/src/cava-0.4.3'
make: *** [Makefile:577: all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build cava package(s)
funilrys commented on 2017-02-10 07:28 (UTC)
@marcin thanks + fixed
marcin commented on 2017-02-05 04:21 (UTC) (edited on 2017-02-05 04:36 (UTC) by marcin)
Before installing, install this
sudo pacman -S iniparser
Without this, the following errors occur
/usr/bin/cava: line 202: cd: /tmp/yaourt-tmp-mwo/aur-cava/src/cava-0.4.2: No such file or directory
gcc: error: cava-cava.o: No such file or directory
gcc: error: /tmp/yaourt-tmp-mwo/aur-cava/src/cava-0.4.2/iniparser/.libs/libiniparser.so: No such file or directory
Also its worth installing pulseaudio as cava works with it by default. With only alsa, there is some teawking to do.
Brottweiler commented on 2017-01-04 14:44 (UTC)
==> WARNING: Package contains reference to $srcdir
apolih commented on 2016-11-29 18:03 (UTC)
cava is not working for me after install:
$ cava
mkdir: cannot create directory ‘/usr/bin/.libs’: Permission denied
/usr/bin/ld: cannot open output file /usr/bin/.libs/10890-lt-cava: No such file or directory
collect2: error: ld returned 1 exit status
Perhaps related to this warning during the build?
$ makepkg
...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issue...
==> WARNING: Package contains reference to $srcdir
==> Creating package "cava"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: cava 0.4.2-1 (Tue Nov 29 11:58:22 CST 2016)
Pinned Comments
funilrys commented on 2021-02-06 01:01 (UTC)
Hello, World! :-)
This AUR package is now managed on GitHub. Feel free to submit your package/installation issues as long as PR in the GitHub repository.
From now on, every change made inside the GitHub repository will be automatically synchronized here.
As of now, every 15th of the month around 12:45 (UTC); this package would be updated automatically - if a new version is available.
Stay safe and healthy.
Links: