Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iSpy Installation not working on Raspberry Pi5 #271

Open
rodriguesgnuno opened this issue Dec 7, 2023 · 10 comments
Open

iSpy Installation not working on Raspberry Pi5 #271

rodriguesgnuno opened this issue Dec 7, 2023 · 10 comments

Comments

@rodriguesgnuno
Copy link

Hello,

iSpy/Agent DVR installation is not working on Raspberry Pi5.

I absolutely love your software and have been using it on my raspberrypi4 where everything works perfectly.

I'm looking to migrate the CCTV to my Pi5 but the installation is having issues. Bellow is a print of what happens when I try to launch the Agent manually (./Agent):

Log start
Agent (v5.1.4.0)
Starting...
Detected: LinuxARM64
Creating temp path for opencv in /tmp/
Get com port list
Conf: Check /home/grodrigues/AgentDVR/Media/WebServerRoot/Media/
Using WorkStation GC
StartUp: Inbuilt SOAP auth unavailable (using alternate)
Using Original WebRTC library
Init FFmpeg
ffmpeg6/lib not found
ffmpeg-v6/workspace/lib not found
Checking in /usr/local/lib
Checking in /usr/lib/aarch64-linux-gnu
/usr/lib/aarch64-linux-gnueabi not found
/usr/lib/aarch64-linux-gnueabihf not found
Installing FFmpeg6
StartUp: P2P library not installed (this is normal)
Init: NDI
Init: Not installed
Init SDL
StartUp: SDL not available (SDL not available on all platforms - local talk playback disabled)
Downloading https://ispyrtcdata.blob.core.windows.net/downloads/ffmpeg6-linuxarm64.tar.xz
Database
Preloading Images
Unhandled exception. System.TypeInitializationException: The type initializer for 'Pixiv.Rtc.ThreadManager' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'jingle_peerconnection_so' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libjingle_peerconnection_so: cannot open shared object file: No such file or directory
at Pixiv.Rtc.ThreadManager.rtcThreadManagerInstance()
at Pixiv.Rtc.ThreadManager..cctor()
--- End of inner exception stack trace ---
at Pixiv.Rtc.ThreadManager.get_Instance()
at CoreLogic.Server.WebRTC.RTCConnection.RunTURN()
at System.Threading.Thread.StartCallback()
Aborted

I know the issue is most likely on raspberry pi 5, but I am unnable to solve it. One difference I could see is that if I ran LDD on my Pi4 against jingle_peerconnection_so it works:

pi@raspberrypi:~/AgentDVR $ ldd libjingle_peerconnection_so.so
linux-vdso.so.1 (0x0000007f8c02e000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f8b62e000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007f8b583000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007f8b55f000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f8b3eb000)
/lib/ld-linux-aarch64.so.1 (0x0000007f8bffe000)

If I do the same on my Pi5 it doesn't:

pi@raspberrypi5:~/AgentDVR $ ldd libjingle_peerconnection_so.so
not a dynamic executable

I really your help as I dislike all other similar products out there, as iSpy is the most straight forward easy to use software I found.
I will be more than glad to buy subscribe to the Basic Version, even though this is for home use, the HTTPS feature will come in handy since I also access iSpy from outside my home network.

Looking forward for your reply.
Best Regards,
Goncalo Rodrigues

@ispysoftware
Copy link
Owner

what's the difference between the processors? it could be that one is 32 bit and one is 64 bit.. have you tried the docker option? might also be a new version of glibc breaking it - could need a different OS.

@rodriguesgnuno
Copy link
Author

rodriguesgnuno commented Dec 8, 2023 via email

@ispysoftware
Copy link
Owner

if you're on 64 bits you should be able to use the docker option

@rodriguesgnuno
Copy link
Author

rodriguesgnuno commented Dec 11, 2023 via email

@rodriguesgnuno
Copy link
Author

rodriguesgnuno commented Dec 11, 2023 via email

@ispysoftware
Copy link
Owner

someone else solved a similar issue with java:

https://unix.stackexchange.com/questions/762505/java-21-on-raspberry-pi-5

@rodriguesgnuno
Copy link
Author

rodriguesgnuno commented Dec 15, 2023 via email

@ispysoftware
Copy link
Owner

i'm not sure i don't have one to test with which makes this difficult (and can't get one as they're all out of stock)
There's plenty of google about it though i'd try some of the suggestions from there, for example:

https://unix.stackexchange.com/questions/75054/ldd-tells-me-my-app-is-not-a-dynamic-executable

I'm gussing that it'll be a missing or incompatible version of glibc

@Smithy396
Copy link

Hi Goncalo,

I was also having the exact same issue with my Pi 5 on the Debian Bookworm 64 bit Raspberry Pi OS.

I ended up wiping the OS and switching to Ubuntu 23.10 (GNU/Linux 6.5.0-1005-raspi aarch64). Installed through the Raspberry Pi Imager (Other general purpose OS -> Ubuntu -> Desktop). Installed docker following the standard ubuntu docker documentation and ispy span up with no errors.

@rodriguesgnuno
Copy link
Author

rodriguesgnuno commented Dec 19, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants