Git Product home page Git Product logo

raspberrypi nymphcast_server[9460]: /usr/local/bin/nymphcast_server: error while loading shared libraries: libPocoUtil.so.70: cannot open shared object file: No such file or directory about nymphcast HOT 5 CLOSED

mayaposch avatar mayaposch commented on August 20, 2024
raspberrypi nymphcast_server[9460]: /usr/local/bin/nymphcast_server: error while loading shared libraries: libPocoUtil.so.70: cannot open shared object file: No such file or directory

from nymphcast.

Comments (5)

jmillerv avatar jmillerv commented on August 20, 2024 1

Solution that got NymphCast working for me.

  • I uninstalled libpoco-dev
  • I updated my /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
  • I ran sudo apt update
  • resintalled libpoco-dev and all subsequent packages that it said it was missing

The program is now running on my Raspbery Pi.

from nymphcast.

alphabet5 avatar alphabet5 commented on August 20, 2024

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'.

from nymphcast.

MayaPosch avatar MayaPosch commented on August 20, 2024

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?

from nymphcast.

jmillerv avatar jmillerv commented on August 20, 2024

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.

from nymphcast.

MayaPosch avatar MayaPosch commented on August 20, 2024

@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.

from nymphcast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.