Skip to content

elf-deps: -R on git fails with: could not find library: "libiconv.so.7.1" - searched in ["/usr/lib"] #3

@SeungKang

Description

@SeungKang

Ran -R on git and returned with error:

$ oki -R git
fatal: failed to get ELF dependencies unveil paths - could not find library: "libiconv.so.7.1" - searched in ["/usr/lib"]

Library is in /usr/local/lib.

$ find /usr -type f -name libiconv.so.7.1
/usr/local/lib/libiconv.so.7.1

Possible Fixes

We want to check if /usr/local/lib is in git's DT_RUNPATH or any of its libraries' DT_RUNPATH.
If it isn't, we should consider checking there by default.
We should review how ld.so works and read manual page. (man ld.so)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions