FooBarWidget / debian-packaging-for-the-modern-developer

Debian packaging tutorials for the modern developer
439 stars 71 forks source link

Missing dh_shlibdeps from Tutorial 3 #2

Closed agfline closed 4 months ago

agfline commented 5 years ago

Hi and thanks for those tutorials, they helped me a lot.

In Tutorial 3, you forgot the dh_shlibdeps command in the rules file, wich is supposed to eval the ${shlibs:Depends} variable.

This is why you get from the output :

dpkg-gencontrol: warning: Depends field of package hello: unknown substitution variable ${shlibs:Depends}
raidoz commented 4 years ago

Can confirm that adding dh_shlibdeps fixes the warning and missing deps.