Closed alphabet5 closed 3 months ago
Installing from source doesn't seem like it worked either.
gui.h:23:10: fatal error: nymphcast_client.h: No such file or directory
23 | #include "nymphcast_client.h"
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:186: obj/aarch64-linux-gnu/gui.o] Error 1
make: Leaving directory '/home/pi/NymphCast-master/src/server'
make: Entering directory '/home/pi/NymphCast-master/src/server'
TARGET: aarch64-linux-gnu
install -d /usr/local/bin/ \
-d /usr/local/etc/nymphcast/ \
-d /usr/local/share/nymphcast/apps/ \
-d /usr/local/share/nymphcast/wallpapers/ \
-d /usr/local/etc/avahi/services/
install -m 755 bin/aarch64-linux-gnu/nymphcast_server /usr/local/bin/
install: cannot stat 'bin/aarch64-linux-gnu/nymphcast_server': No such file or directory
make: *** [Makefile:212: install] Error 1
make: Leaving directory '/home/pi/NymphCast-master/src/server'
Installing systemd service...
make: Entering directory '/home/pi/NymphCast-master/src/server'
TARGET: aarch64-linux-gnu
#install -d /usr/local/etc/systemd/system/
sed -e 's:@BIN@:/usr/local/bin/nymphcast_server:g' -e 's:@CONFIG@:/usr/local/etc/nymphcast/nymphcast_config.ini:g' -e 's:@APPS@:/usr/local/share/nymphcast/apps/:g' -e 's:@WALLPAPERS@:/usr/local/share/nymphcast/wallpapers/:g' systemd/nymphcast.service > /etc/systemd/user/nymphcast.service
make: Leaving directory '/home/pi/NymphCast-master/src/server'
Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)
Jul 05 19:21:52 raspberrypi systemd[1]: Started NymphCast audio/video casting server.
Jul 05 19:21:52 raspberrypi nymphcast_server[6282]: /usr/local/bin/nymphcast_server: error while loading shared libraries: libPocoUtil.so.70: cannot open shared object file: No such file or directory
Jul 05 19:21:52 raspberrypi systemd[1]: nymphcast.service: Main process exited, code=exited, status=127/n/a
Jul 05 19:21:52 raspberrypi systemd[1]: nymphcast.service: Failed with result 'exit-code'.
The first error is due to a mismatch in the LibPoco library version. What are the system specifications and installation steps?
Installing from source is automated with the setup.sh
script. Could you provide the steps here too?
Having a similar issue.
OS
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
And I installed via the tarball & the install script.
error
./bin/nymphcast_server -c nymphcast_screensaver_config.ini
./bin/nymphcast_server: error while loading shared libraries: libPocoUtil.so.70: cannot open shared object file: No such file or directory
UPDATE
I went through and updated my sources to use debian 11 which has the version of libpoco-dev that includes libpocoutil70. Unfortunately, I immediately ran into the next issue, which was another dependency that requires libswscale5.
Solution that got NymphCast working for me.
/etc/apt/sources.list
to deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
and my /etc/apt/sources.list.d/raspi.list
to deb http://archive.raspberrypi.org/debian/ bullseye main
sudo apt update
The program is now running on my Raspbery Pi.
@jmillerv I think I may have encountered a similar issue with the libpoco dependency on Debian/RPiOS in the past as well. It does indeed appear to be due to an issue with the package manager and it getting its sources/dependencies mixed up. Uninstalling and reinstalling those dependencies seems to be the best 'fix'. Thank you for solving this issue on the latest RPiOS and providing the steps here :)
I assume that @alphabet5 has resolved this issue at this point, and I haven't encountered this issue on Debian-based distros over the past years on x86_64. I'll try it with the latest RPiOS to see whether I encounter this issue there.
After installing with sudo ./install.sh I'm getting this error when the service is trying to start.