joelsdc left a comment (kamailio/kamailio#4614)

# Workaround

Add the libmaxminddb shared library to the systemd unit so it's already loaded 
when Kamailio tries to dlopen geoip2.so:

```bash
systemctl edit kamailio
```

Then add:

```ini
[Service]
Environment=LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libmaxminddb.so.0
```
(Verify the exact path first with: `dpkg -L libmaxminddb0 | grep '\.so'`)

Reload and restart:

```bash
systemctl daemon-reload
systemctl restart kamailio
```



-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4614#issuecomment-3994238855
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4614/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to