]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Add ldconfig and library path configuration to Dockerfile
authorVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 22 Oct 2025 10:26:14 +0000 (11:26 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 22 Oct 2025 10:26:14 +0000 (11:26 +0100)
commiteb780b1b9f4c5ad4fd47cbea199fc0ee60b8c102
treee06d3cb01ded456166b44111c12ecb349c2b0f82
parentef72d32918794f719211de4f2b933b8cce225b18
[Fix] Add ldconfig and library path configuration to Dockerfile

The rspamd shared libraries are installed in /usr/lib/rspamd/ which is not
in the default dynamic linker search path. This causes the error:
  librspamd-server.so: cannot open shared object file

Fixed by:
- Adding /usr/lib/rspamd to /etc/ld.so.conf.d/rspamd.conf
- Running ldconfig to update the dynamic linker cache

This ensures all rspamd shared libraries are found at runtime.
test/integration/Dockerfile.local