[kwlug-disc] Question on Debian packaging and dependencies ...
Khalid Baheyeldin
kb at 2bits.com
Mon Dec 1 13:01:49 EST 2025
For a client, I use Varnish on the server.
We switched servers, and distro version (to 24.04 LTS), recenlty.
Varnish is supposed to use libjemalloc for allocating memory for its cache,
and other stuff.
If you lookup at the Ubuntu repo for 24.04 (noble), you will see that
libjemalloc is one of the dependencies, per here:
https://packages.ubuntu.com/noble/varnish
But if you use apt show, you don't see libjemalloc at all:
apt show varnish
Package: varnish
Version: 7.1.1-1.1ubuntu1
Section: universe/web
...
Pre-Depends: init-system-helpers (>= 1.54~)
Depends:
libc6 (>= 2.34),
libedit2 (>= 2.11-20080614-0),
libncursesw6 (>= 6),
libpcre2-8-0 (>= 10.32),
libtinfo6 (>= 6),
libvarnishapi3 (>= 7.1.0),
adduser,
gcc,
libc6-dev | libc6.1-dev | libc-dev, lsb-base
And ldd does not show linkage to libjemalloc:
sudo ldd `which varnishd`
linux-vdso.so.1 (0x00007fff581d2000)
libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0
(0x000077c219ce4000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000077c219bfb000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000077c219800000)
/lib64/ld-linux-x86-64.so.2 (0x000077c219ef8000)
So what is going on? I am missing something here.
Can anyone enlighten us on what is going on?
--
Khalid M. Baheyeldin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20251201/55b88634/attachment.htm>
More information about the kwlug-disc
mailing list