Re: RFH: liblicense: dpkg-shlibdeps: failure: couldn't find library
Asheesh Laroia <email@example.com> writes:
> When building this dsc
> I get at the end of the build:
> dpkg-shlibdeps: failure: couldn't find library liblicense.so.1 needed by
> debian/liblicense-cli/usr/bin/license (its RPATH is '').
> Note: libraries are not searched in other binary packages that do not have
> any shlibs or symbols file.
> To help dpkg-shlibdeps find private libraries, you might need to set
> dh_shlibdeps: command returned error code 512
> make: *** [binary-arch] Error 1
> dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit
> status 2
> Naturally, I'm probably doing something wrong - but I have no idea what
> it is. I think that the soname and library package name are correct,
> for one thing. Can someone perhaps help?
You have dh_makeshlibs commented out in your debian/rules file. You have
to run dh_makeshlibs when building shared libraries. Otherwise, you don't
get a shlibs file, which means that the shared library package won't work
right and dh_shlibdeps can't find it when setting shared library
Russ Allbery (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>