Skip to content
Snippets Groups Projects

inspect-library: print the real SONAME of the given library

Merged Ludovico de Nittis requested to merge wip/denittis/t21931 into master
All threads resolved!

This information colud be used to correctly handle libraries like libldap that sometimes is just an alias for libldap_r.

This is the output on Arch:

$ ./x86_64-linux-gnu-inspect-library libldap-2.4.so.2
{
  "libldap-2.4.so.2": {
    "SONAME": "libldap-2.4.so.2",
    "path": "/usr/lib/libldap-2.4.so.2",

And this is on Debian:

$ ./x86_64-linux-gnu-inspect-library libldap-2.4.so.2
{
  "libldap-2.4.so.2": {
    "SONAME": "libldap_r-2.4.so.2",
    "path": "/lib/x86_64-linux-gnu/libldap-2.4.so.2",

/cc @smcv

Merge request reports

Pipeline #3499 passed

Pipeline passed for 05f9eb81 on wip/denittis/t21931

Approval is optional

Merged by Simon McVittieSimon McVittie 4 years ago (Jun 25, 2020 2:26pm UTC)

Merge details

  • Changes merged into master with c1f13a0e.
  • Deleted the source branch.

Pipeline #3508 passed

Pipeline passed for c1f13a0e on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • I'm glad this is (as far as we know) only happening for relatively unimportant libraries like libldap... because I don't think setup.sh and capsule-capture-libs are going to be able to do the right thing in this situation.

  • Looks good in general, just some minor issues.

  • added 1 commit

    • 05f9eb81 - inspect-library: print the real SONAME of the given library

    Compare with previous version

  • Ludovico de Nittis resolved all threads

    resolved all threads

  • Simon McVittie mentioned in commit c1f13a0e

    mentioned in commit c1f13a0e

  • Please register or sign in to reply
    Loading