Closed Humorist2601 closed 1 month ago
Do you not have it installed?
Hi there, I have updated the install.sh to try dnf before yum. It's on the main branch.
Do you not have it installed?
Yes, that is what I find strange. I have installed it but make build still gives error
I had to remove the reference to install.sh from the README since several people seem to be having problems with it. The file itself is still there though, but I recommend other ways to install it. Perhaps homebrew?
Hi everyone, I'm also on Fedora 40 Workstation, but I have a different issue:
1 mkdir -p src/obj
2 Package libavcodec was not found in the pkg-config search path.
3 Perhaps you should add the directory containing `libavcodec.pc'
4 to the PKG_CONFIG_PATH environment variable
5 Package 'libavcodec', required by 'virtual:world', not found
6 Package 'libavutil', required by 'virtual:world', not found
7 Package 'libavformat', required by 'virtual:world', not found
8 Package 'libswresample', required by 'virtual:world', not found
9 gcc -I/usr/include -I/usr/include/ogg -I/usr/include/opus -I/usr/include/stb -Iinclude/imgtotxt/ext -Iinclude/imgtotxt -I/usr/include/ffmpeg -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Iinclude/mini
10 Package libavcodec was not found in the pkg-config search path.
11 Perhaps you should add the directory containing `libavcodec.pc'
12 to the PKG_CONFIG_PATH environment variable
13 Package 'libavcodec', required by 'virtual:world', not found
14 Package 'libavutil', required by 'virtual:world', not found
15 Package 'libavformat', required by 'virtual:world', not found
16 Package 'libswresample', required by 'virtual:world', not found
17 gcc -I/usr/include -I/usr/include/ogg -I/usr/include/opus -I/usr/include/stb -Iinclude/imgtotxt/ext -Iinclude/imgtotxt -I/usr/include/ffmpeg -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Iinclude/mini
18 Package libavcodec was not found in the pkg-config search path.
19 Perhaps you should add the directory containing `libavcodec.pc'
20 to the PKG_CONFIG_PATH environment variable
21 Package 'libavcodec', required by 'virtual:world', not found
22 Package 'libavutil', required by 'virtual:world', not found
23 Package 'libavformat', required by 'virtual:world', not found
24 Package 'libswresample', required by 'virtual:world', not found
25 gcc -I/usr/include -I/usr/include/ogg -I/usr/include/opus -I/usr/include/stb -Iinclude/imgtotxt/ext -Iinclude/imgtotxt -I/usr/include/ffmpeg -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Iinclude/mini
26 In file included from src/player.h:10,
27 from src/playerops.h:7,
28 from src/mpris.h:6,
29 from src/sound.c:6:
30 src/chafafunc.h:1:10: fatal error: chafa.h: File o directory non esistente
31 1 | #include <chafa.h>
32 | ^~~~~~~~~
33 compilation terminated.
34 make: *** [Makefile:42: src/obj/sound.o] Error 1
Try this:
sudo dnf install -y pkgconf-pkg-config ffmpeg fftw-devel opus-devel opusfile-devel libvorbis-devel gcc make chafa-devel freeimage-devel ffmpeg-devel glib2-devel libnotify-devel
I think what you might be missing is ffmpeg-devel and chafa-devel.
Try this:
sudo dnf install -y pkgconf-pkg-config ffmpeg fftw-devel opus-devel opusfile-devel libvorbis-devel gcc make chafa-devel freeimage-devel ffmpeg-devel glib2-devel libnotify-devel
I think what you might be missing is ffmpeg-devel and chafa-devel.
Thank you, on Fedora Workstation 40 it worked.
But on Fedora Silverblue (on a different machine) I have the same issue as OP.
what does this say: ldconfig -p | grep libatomic
I'll update the readme with fedora info, if we manage to solve this.
what does this say: ldconfig -p | grep libatomic
Returns nothing.
I had to install libatomic
.
Build successful.
Nice! I updated the README.
I added back the install.sh section to the readme.
Hello
Trying to install your beautiful app but it is not working. The install.sh uses yum to install which I think should not be the case
I am getting the following error
/usr/bin/ld: cannot find /usr/lib64/libatomic.so.1.2.0: No such file or directory