Forgive me if this is dumb or an issue that was already resolved, or if this isn't the place to ask the question, but I did not see any information on this problem I am having anywhere, including google.
The issue I am facing:
I tried to run the automated script provided on the main page for Pi-hole on a fresh install of Kali linux on a Raspberry Pi 4. Ran the script without the OS check, everything seems normal until it tries to restart the lighttpd service. The service fails to start with an exit-code.
Using "journalctl -e -u lighttpd" I can see that I get the following:
Starting Lighttpd Daemon...
(plugin.c.195) dlopen() failed for : /usr/lib/lighttpd/mod_deflate.so /usr/lib/lighttpd/mod_deflate.so: cannot open shared object file: No such file or directory
(server.c.1238) loading plugins finally failed
lighttpd.service: Control process exited, code=exited, satus=255/EXCEPTION
lightpd.service: Failed with result 'exit-code'.
Failed to start Lighttpd Daemon.
Navigating to that directory verifies that mod_deflate.so is missing.
I was able to find that mod_deflate.so is a module that is by default disabled during installation, but, (and here is the stupidity on my part), I have no idea how to enable or install this module into lighttpd.
Any help is appreciated.
Details about my system:
Just a basic Raspberry Pi 4 with a fresh install of Kali Linux
What I have changed since installing Pi-hole:
I used apt-get install to install the gamin package since I saw a lot of linux help threads saying that it was a requirement for lighttpd.