Brand new install on fedora 33 5.11.15-200.fc33.x86_64 of v1.35.23
(is this bleeding edge?)
I have to amcrest cameras working fine.
I setup a cURL HTTP(S) only camera using the same setup as is current working on my existing v1.30.4 zoneminder install
I get this error
Could not load libcurl: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
google suggested
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl-gnutls.so.4
but that did not fix the issue - it produced instead
cURL Request failed: Weird server reply
---------------------------------------------------------------------------
What is installed :
[root@zebra lib64]# ls -l libcurl*
lrwxrwxrwx. 1 root root 16 Mar 31 14:13 libcurl.so.4 -> libcurl.so.4.6.0
-rwxr-xr-x. 1 root root 620120 Mar 31 14:13 libcurl.so.4.6.0
[root@zebra lib64]# rpm -qa | grep curl
curl-7.71.1-9.fc33.x86_64
libcurl-7.71.1-9.fc33.x86_64
[root@zebra lib64]# ls -l *gnu*
lrwxrwxrwx. 1 root root 20 Sep 4 2020 libgnutls.so.30 -> libgnutls.so.30.28.1
-rwxr-xr-x. 1 root root 1901688 Sep 4 2020 libgnutls.so.30.28.1
[root@zebra lib64]#
Could not load libcurl: libcurl-gnutls.so.4
Re: Could not load libcurl: libcurl-gnutls.so.4
Yes this is the bleeding edge.
The curl monitor type was implemented for weird cases where ffmpeg or other methods didn't work. It was not designed to do this.
Try the ffmpeg type. It is the best tool for the job.
We will investigate this issue, but it is likely to take some time.
First off, the first lib that the code looks for is libcurl.so so you the link to make is ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl.so
However I doubt the result will change.
The curl monitor type was implemented for weird cases where ffmpeg or other methods didn't work. It was not designed to do this.
Try the ffmpeg type. It is the best tool for the job.
We will investigate this issue, but it is likely to take some time.
First off, the first lib that the code looks for is libcurl.so so you the link to make is ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl.so
However I doubt the result will change.
Re: Could not load libcurl: libcurl-gnutls.so.4
Current master will now look for libcurl.so.4 before libcurl-gnutls.so.4, let us know if it fixes it.
Re: Could not load libcurl: libcurl-gnutls.so.4
I tried your suggested
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl.so
just for kicks, but it did the same thing. I will try 1.34. No reason for me to be bleeding edge here.
Thanks for the assistance
2021-04-23 12:44:16 zmc_m3 1421 ERR cURL Request failed: Weird server reply zm_curl_camera.cpp 550
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl.so
just for kicks, but it did the same thing. I will try 1.34. No reason for me to be bleeding edge here.
Thanks for the assistance
2021-04-23 12:44:16 zmc_m3 1421 ERR cURL Request failed: Weird server reply zm_curl_camera.cpp 550
Re: Could not load libcurl: libcurl-gnutls.so.4
I missed your previous post. I downloaded v1.35.27
it went straight to weird server reply.
I have since successfully configured this camera to use rtsp , so I will not need cURL HTTP(S) any more. I will also go down to 1.34 since I did not mean to be bleeding edge.
Thanks for the support !
it went straight to weird server reply.
Code: Select all
2021-04-23 19:46:59 zmc_m1 49121 ERR cURL Request failed: Weird server reply zm_curl_camera.cpp 554
2021-04-23 19:46:59 zmc_m1 49121 ERR Retrying.. Attempt 1 of 5 zm_curl_camera.cpp 556
2021-04-23 19:46:59 zmc_m1 49121 ERR cURL Request failed: Weird server reply zm_curl_camera.cpp 554
2021-04-23 19:46:59 zmc_m1 49119 INF Starting Capture version 1.35.27 zmc.cpp 220
2021-04-23 19:46:59 zmdc 49119 INF 'zmc -m 1' started at 21/04/23 19:46:59 zmdc.pl -
2021-04-23 19:46:59 zmdc 48703 INF 'zmc -m 1' starting at 21/04/23 19:46:59, pid = 49119 zmdc.pl -
2021-04-23 19:46:59 zmdc 48703 INF Starting pending process, zmc -m 1 zmdc.pl -
2021-04-23 19:46:58 zmdc 48703 INF 'zmc -m 1' exited normally zmdc.pl
