Hello,

I am trying to build a local debian package from some software. The
only special I see in this is that the source package already contains
files in binary form, not files to be compiled from some programming
language and that shared libraries are not in the usual usr/lib etc.
directories, but elsewhere.

The file debian/rules looks quite usual:

#!/usr/bin/make -f

%:
        dh $@

override_dh_auto_install:
        dh_auto_install
        cp -a usr $(CURDIR)/debian/$package
        
override_dh_shlibdeps:
       dh_shlibdeps -lusr/lib/$package/lib/x64 -lusr/lib/$package/lib

override_dh_strip_nondeterminism:

override_dh_dwz:


After building the binary deb file, I investigated it with dpkg -f and
saw that no dependencies for shared libraries had been added. Because
of that, I looked closer at what dpkg-buildpackage had written to
stdout/stderr and discovered that dh_shlibdeps had not been called at
all (the same after commenting out the override_dh_shlibdeps section)

Any idea why this is the case?

Regards
  Christoph

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to