# Mod\_deflate.so module is missing from lighttpd?

**URL:** <https://discourse.pi-hole.net/t/mod-deflate-so-module-is-missing-from-lighttpd/42781>\
**Category:** Community Help\
**Created:** [January 10, 2021, 8:04pm UTC](https://discourse.pi-hole.net/t/mod-deflate-so-module-is-missing-from-lighttpd/42781 "2021-01-10T20:04:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![newusr](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/n/90db22/32.png) [@newusr](https://discourse.pi-hole.net/u/newusr)\
**Post date:** [January 10, 2021, 8:04pm UTC](https://discourse.pi-hole.net/t/mod-deflate-so-module-is-missing-from-lighttpd/42781/1 "2021-01-10T20:04:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [January 10, 2021, 9:23pm UTC](https://discourse.pi-hole.net/t/mod-deflate-so-module-is-missing-from-lighttpd/42781/2 "2021-01-10T21:23:42Z")

</div>

> [@newusr](#):
>
> Ran the script without the OS check,

Kali is not a supported OS and may be using different lighttpd build versions than we support.

---

<div class="post-metadata">

**Author:** ![cybero2912](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/c/bcef8e/32.png) [@cybero2912](https://discourse.pi-hole.net/u/cybero2912)\
**Post date:** [January 25, 2021, 1:49am UTC](https://discourse.pi-hole.net/t/mod-deflate-so-module-is-missing-from-lighttpd/42781/3 "2021-01-25T01:49:45Z")

</div>

```auto
sudo apt-get install lighttpd-mod-deflate

```

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [February 15, 2021, 1:50am UTC](https://discourse.pi-hole.net/t/mod-deflate-so-module-is-missing-from-lighttpd/42781/4 "2021-02-15T01:50:26Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
