I am trying to install opendmarc on an Ubuntu 18.04.5 server.
During apt-get install opendmarc I get:
Job for opendmarc.service failed because the control process exited with error code. See "systemctl status opendmarc.service" and "journalctl -xe" for details. invoke-rc.d: initscript opendmarc, action "start" failed. ● opendmarc.service - OpenDMARC Milter
Loaded: loaded (/lib/systemd/system/opendmarc.service; disabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Thu 2020-10-08 09:58:18 UTC; 13ms ago Docs: man:opendmarc(8) man:opendmarc.conf(5) Process: 9643 ExecStart=/usr/sbin/opendmarc (code=exited, status=127)
I tried installing libopendmarc-dev and got the same
If I try to run opendmarc I get:
opendmarc: error while loading shared libraries: libopendmarc.so.2: cannot open shared object file: No such file or directory
It appears I don't have libopendmarc.so.2. I assumed it would be installed with libopendmarc-dev but apparently not.
How can I install it?
libopendmarc.so
, probably somewhere in/usr/lib
. In that same directory, create a symbolic link fromlibopendmarc.so
tolibopendmarc.so.2
and try again. This happens all the time (I don't know why). – Jos Oct 08 '20 at 11:15