zoneminder-containers / zoneminder-base

An always up-to-date automatically building ZoneMinder container
101 stars 32 forks source link

Fixed "Could not load libcurl: libcurl-gnutls.so.4: cannot open share… #44

Closed eastygh closed 1 year ago

eastygh commented 1 year ago

…d object file: No such file or directory" when using Source Type cURL

When choosing source type cURL got error "Could not load libcurl: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory" Missing libcurl3-gnutls

alexyao2015 commented 1 year ago

I think this should be reverted since libcurl4-gnutls-dev is already being included by zoneminder which has this as a dependency. If it's still not working, there's probably another issue that's causing it I would have to guess. It seems like some people are saying it needs to be symlinked. Also the build logs show it as already being installed prior to this change so this effectively does nothing and adds a fixed dependency.

https://packages.debian.org/bullseye/libcurl4-gnutls-dev

eastygh commented 1 year ago

Sorry, i forgot add symlink to pull request ln -s /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 /usr/lib/libcurl-gnutls.so.4 i solve with issue with expand bas docker file like this ` FROM ghcr.io/zoneminder-containers/zoneminder-base:latest

RUN apt-get update \ && apt-get install -y libcurl3-gnutls \ && rm -rf /var/cache/apt/lists \ && ln -s /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 /usr/lib/libcurl-gnutls.so.4 ` i think we need add with ln -s /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 /usr/lib/libcurl-gnutls.so.4 to patch