Skip to content

dh_shlibdeps fails to find some dependencies in cross-compilation with custom sysroot #12

Description

@alejandroclaro

I’m encountering issues with dh_shlibdeps when cross-compiling in an environment where the sysroot is not "/".

I’ve experimented with the admindir argument, but the results remain inconsistent — some dependencies are correctly found, but others are not, making the process unreliable.

My questions are:

  • What is the correct way to use dh_shlibdeps in cross-compilation when the sysroot is outside the root filesystem?
  • If admindir is intended to help in this scenario, what are its expected use cases, and how should it be properly configured?

Any guidance on how to properly set up dh_shlibdeps (or dpkg-shlibdeps) in such an environment would be greatly appreciated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions