Install failing on RPi 4 Buster
-
Re: Raspberry Pi4 install on Raspberry OS
I have an INNO HiFi DAC HAT and spent hours trying different music players and no matter how much tweaking I never felt I was getting the full sound quality from the platform. I then ran across Strawberry and successfully installed it following the compiling instructions for Debian on github and wow, what a difference, I had found the right player. About a week later I ran an "apt update and upgrade" which botched the PiOS and I had to go to the back up image I had. It was the same image but didn't have Strawberry installed and now I can't get Strawberry installed because the following errors occur when running cmake.
-- Missing qpa/qplatformnativeinterface.h header.
-- Checking for module 'taglib>=1.11.1'
-- No package 'taglib' found
CMake Error at /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:452 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:622 (_pkg_check_modules_internal)
CMakeLists.txt:237 (pkg_check_modules)libtag1v5-1.11.1+dfsg.1-0.9+deb10u1 & libtag1v5vanilla-1.11.1+dfsg.1-0.9+deb10u1 are installed just like the working image.
-
@edward You need to install libtag1-dev
-
On Raspberry OS Buster, I am getting
cmTC_52850.dir/CheckFunctionExists.c.o -o cmTC_52850 -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[1]: *** [CMakeFiles/cmTC_52850.dir/build.make:87: cmTC_52850] Error 1 make[1]: Leaving directory '/home/pi/Downloads/strawberry/build/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_52850/fast] Error 2
I did about an hour of searching and I cannot find what library is missing or not linked properly.
-
Thanks very much Jonas! I'm good now. I'm amazed at how solid the audio is compared to other players. The HiFi HAT is doing it's job now. The HAT is rated at 384-KHz/32-Bit and I was wondering if it is possible to adjust the sample rate and/or bit depth in Strawberry or what are the guidelines on that? Also, in the settings under backend there is an option to enable volume control. Does that refer to software or hardware?
-
@bwh1969 Is that a clean build?
pthreads should be part of glibc.
Try upgrading cmake. -
@jonas said in Install failing on RPi 4 Buster:
glibc
As far as I understand, it is a "clean" build.
Also:
cmake 3.13-4-1 (latest available).That being said, I deleted the folder downloaded from git and cloned it agan, and ran the commands and it built so perhaps a file or bit of code became corrupt. Thanks for the idea.
-
I've noticed now that every time I open Strawberry the settings have reverted back to default. I have tried re-compiling a couple of times.
-
@edward I figured out the issue with settings not being saved. For some reason the config file, strawberry.conf in .config, was owned by root so Strawberry was denied write permission.. I changed owner to Pi and issue was resolved.