DH_SODEPS(1)

πŸ’– DH_SODEPS πŸ’–

okay bestie, so this is dh_sodeps, part of the User Contributed Perl Documentation crew β€” yes it's a Perl script, she contains multitudes ✨


✨ NAME ✨

dh_sodeps β€” bestie, she generates library dependencies for development *.so symlinks. that's the whole job. iconic honestly πŸ’…


🌸 SYNOPSIS 🌸

dh_sodeps [debhelper options] [-Vversioninfo]

πŸŽ€ DESCRIPTION πŸŽ€

so like, dh_sodeps is a helper program that generates library dependencies for *.so symlinks β€” the kind you literally always find hanging out in library development packages πŸ¦‹

here's the tea: it basically goes looking for usr/lib/*.so inside the package build directory, then it finds all the local arch specific packages that actually contain the targets of those symlinks, and adds dependencies on the discovered packages to the so:Depends substitution variable. lowkey obsessed with how it just does that 🫢

and bestie, dependencies are strict by default. like:

  • (=${binary:Version}) β€” if the package containing *.so is arch specific 😌
  • (>=${source:Version}) β€” if it is arch independent πŸ’«

that's it, that's the vibe check. periodt.


πŸ’… OPTIONS πŸ’…

  • -Vversioninfo, --version-info=versioninfo β€” use the specified version information for dependencies. if you don't pass this option, dh_sodeps will generate a strict dependency like we explained up above ⬆️ and heads up diva: you do not need to enclose the value in brackets, dh_sodeps will do that automatically for you. she's got you πŸ₯°
  • -Xitem, --exclude item β€” do not calculate dependencies for *.so files that contain item anywhere in their path/filename. and yes you can use this option multiple times to build up a whole list of things to exclude. stack 'em up bestie πŸ“

🌈 SEE ALSO 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Modestas Vainius <modax@debian.org> β€” king behavior, thank you for your service πŸ«‘πŸ’œ


kay that's the whole page bestie, go forth and ship it 🧚

πŸŽ€ cute little sign-off: this page ships as part of perl v5.42.3, dated 2026-08-19 β€” so yes, she's fresh, she's documented, she's serving. πŸ’–
πŸ“¦ where this page comes from