darkice icon indicating copy to clipboard operation
darkice copied to clipboard

problem starting darkice 1.5 after upgrading from bookworm to trixie libFLAC.so.12

Open 0d0a opened this issue 4 months ago • 6 comments

libFLAC.so.12 is now libFLAC.so.14 resolved by copying libFLAC.so.* from backup

maybe this was due to upgrading from bookworm instead of starting all over with trixie ...

regards, 0d0a

0d0a avatar Nov 13 '25 09:11 0d0a

same here. Is there another way to fix it?

Cheers.

anekinloewe avatar Nov 29 '25 07:11 anekinloewe

Installing darkice in trixie seems to depend on libflac14.

How did you installed darkice 1.5 on bookworm ?

I suggest to reinstall from Debian APT repositories

❯ docker run -it --rm debian:trixie bash

root@ad62e787be6c:/# apt-get install darkice
(...)
The following additional packages will be installed:
  adduser alsa-topology-conf alsa-ucm-conf dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common libapparmor1 libasound2-data libasound2t64 libasyncns0 libdbus-1-3 libexpat1 libflac14
  libjack-jackd2-0 libmp3lame0 libmpg123-0t64 libogg0 libopus0 libpulse0 libsamplerate0 libsndfile1 libtwolame0 libvorbis0a libvorbisenc2 libx11-6 libx11-data libx11-xcb1 libxau6 libxcb1 libxdmcp6
(...)

root@ad62e787be6c:/# aptitude why libflac14
i   darkice     Depends libpulse0 (>= 0.99.1)  
i A libpulse0   Depends libsndfile1 (>= 1.0.20)
i A libsndfile1 Depends libflac14 (>= 1.5.0)  

root@ad62e787be6c:/# ldd /usr/bin/darkice | grep -i flac
	libFLAC.so.14 => /lib/x86_64-linux-gnu/libFLAC.so.14 (0x00007bdb36ea1000)

froque avatar Dec 02 '25 12:12 froque

Hi froque,

I purge darkice and reinstall it again. Same problem:

~$ sudo darkice -c /etc/darkice.cfg
DarkIce 1.5 live audio streamer, http://code.google.com/p/darkice/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
Copyright (c) 2008-2013, Akos Maroy and Rafael Diniz
This is free software, and you are welcome to redistribute it 
under the terms of The GNU General Public License version 3 or
any later version.

Using config file: /etc/darkice.cfg
Using ALSA DSP input device: hw:0,1,0
Using POSIX real-time scheduling, priority 4
DarkIce: TcpSocket.cpp:264: connect error [111]

anekinloewe avatar Dec 02 '25 19:12 anekinloewe

DarkIce: TcpSocket.cpp:264: connect error [111]

That does not seem to be from libflac

froque avatar Dec 02 '25 22:12 froque

looks like runneing with root ... priority 4 that is only possibe for non root users as pulse has become the default . I solved that by giving my default user access : https://unix.stackexchange.com/questions/589175/how-to-change-linux-scheduling-policy-for-user-systemd-file I also needed to add a file named 25-darkice-rlimits.conf to /etc/security/limits.d with contents @pi - rtprio 99 @pi - nice -19 each on one line

0d0a avatar Dec 03 '25 12:12 0d0a

Thankx all, for me it was a config problem. After the upgrade to trixie I have to change:

device = hw:0,1,0 to hw:0,1 server = localhost to ip.of.server url = http://localhost to http://ip.of.server

now it works perfect as before the upgrade.

muzelbuzel

anekinloewe avatar Dec 05 '25 16:12 anekinloewe