Comment 35 for bug 1752378

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hi Marcin,

I'm planning on splitting the *_dbg directories out into their own packages. Including runtime libraries from /usr/lib/$ARCH/*_dbg/ in the -dev package wasn't very popular.

I'm still working out the details, but it should be more or less like this (using libpmem as an example):
libpmem1: continues as is
libpmem-dev: no longer includes /usr/lib/x86_64-linux-gnu/nvml_dbg; has small patch to manpages explaining that nvml_dbg is in a new package in Ubuntu systems
libpmem1-debug: ships /usr/lib/x86_64-linux-gnu/nvml_dbg/lib*.so.*
libpmem-dev-debug: ships /usr/lib/x86_64-linux-gnu/nvml_dbg/{lib*.a,lib*.so} and requires libpmem1-debug

Is the separate dev package necessary? I.e., do you need the special debug library build when linking with your applications and wanting the extra logging? Or can apps keep linking against the normal library, and just set LD_LIBRARY_PATH when they need extra logging? I assume the latter, so the dev-debug package wouldn't be necessary.

Enjoy your holidays. I'm off on Friday (March 30th) but back on Monday.