-
Notifications
You must be signed in to change notification settings - Fork 151
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
Bash: ./neolink: No such file or directory #142
Comments
The interpretor is /lib/ld-linux.so.2. Can you confirm that file exists. Also can you run |
# ls -l /lib
total 40
lrwxrwxrwx 1 root root 21 Jul 8 2019 cpp -> /etc/alternatives/cpp
drwxr-xr-x 2 root root 4096 Jul 8 2019 ifupdown
drwxr-xr-x 2 root root 4096 Jul 8 2019 init
drwxr-xr-x 3 root root 4096 Jul 8 2019 lsb
drwxr-xr-x 2 root root 4096 Mar 18 10:46 modprobe.d
drwxr-xr-x 8 root root 12288 Mar 18 10:46 systemd
drwxr-xr-x 15 root root 4096 Feb 11 2019 terminfo
drwxr-xr-x 4 root root 4096 Mar 18 10:51 udev
drwxr-xr-x 3 root root 4096 Mar 18 10:51 x86_64-linux-gnu $ uname -m
x86_64 |
P.s. Its late in my timezone so I won't be able to reply until tomorrow now. But if the |
As there's no x86_64 for Debian, I'd better set up a Ubuntu container? |
Removed my Debian container and replaced with Ubuntu 20.04 # cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04" Repeated previous steps, but downloading the ubuntu_x86_64 release. $ wget https://nightly.link/thirtythreeforty/neolink/workflows/build/master/release-ubuntu-18.04.zip
$ apt install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
$ apt install unzip
$ unzip -d neolink release-ubuntu-18.04.zip
$ wget https://raw.githubusercontent.com/thirtythreeforty/neolink/master/sample_config.toml
$ cp sample_config.toml my_config.toml
$ nano my_config.toml
$ chmod u+x neolink
$ ./neolink --config my_config.toml
./neolink: error while loading shared libraries: libgstrtspserver-1.0.so.0: cannot open shared object file: No such file or directory
$ apt install libgstrtspserver-1.0-0
$ ./neolink --config my_config.toml
[2021-03-18T16:31:38Z INFO neolink] Neolink 5c83472fae89884f5df06475785ec3ee08612448 release
[2021-03-18T16:31:38Z WARN neolink] Without a server certificate, usernames and passwords will be exchanged in plaintext!
[2021-03-18T16:31:38Z INFO neolink] poort: Connecting to camera at 192.168.xx.xx:9000
[2021-03-18T16:31:38Z INFO neolink] poort: Connecting to camera at 192.168.xx.xx:9000
[2021-03-18T16:31:39Z INFO neolink] poort: Connected and logged in
[2021-03-18T16:31:39Z INFO neolink] poort: Connected and logged in
[2021-03-18T16:31:39Z INFO neolink] poort: Starting video stream subStream
[2021-03-18T16:31:39Z INFO neolink] poort: Camera time is already set: 2021-03-18 17:31:38 +1
[2021-03-18T16:31:39Z INFO neolink] poort: Camera reports firmware version v2.0.0.669_20060200
[2021-03-18T16:31:39Z INFO neolink] poort: Starting video stream mainStream |
So it was my mistake for downloading the 32-bit release on a Debian x64 system. To add the camera in iSpy:
|
Glad you got it working. I had a feeling it was this when I saw you were using the i386. You mention your using a container? There is a know issue with docker and very large (4k) camera streams where it will segfault #46. Although this may be fixed now with the newer gstreamers (maybe closed in #141). |
I'm running a Linux Container (LXC) in Proxmox, not sure if that has the same issues as a Docker container. |
Are there plans for releasing an x86_64 debian version in the future? I've run into this same issue with a Proxmox LXC. Would like to have neolink and zoneminder running in the same LXC. |
@MRobi1 I am a bit confused why you cannot use the ubuntu x86_64 version on the debian p.s. A new issue is best |
I'm going to just come out and say I didn't even realize that was possible. LOL |
Hmm perhaps we should edit the readme to say Ubuntu/Debian |
Describe the bug
I downloaded the Debian release of Neolink, installed the GStreamer dependancies and am now trying to launch the application.
Bash complains that it cannot find a file/directory with the name.
I did chmod +x to allow execution.
To Reproduce
$ apt install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio $ wget https://nightly.link/thirtythreeforty/neolink/workflows/build/master/release-i386-buster.zip $ unzip -d neolink release-i386-buster.zip $ cd neolink/ $ wget https://raw.githubusercontent.com/thirtythreeforty/neolink/master/sample_config.toml $ chmod +x ./neolink $ ./neolink --config sample_config.toml -bash: ./neolink: No such file or directory
Expected behavior
Neolink starting with the sample (or my custom) config.
Versions
Debian 10 running in a Proxmox container
$ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian
The text was updated successfully, but these errors were encountered: