goblin icon indicating copy to clipboard operation
goblin copied to clipboard

Implementing patchelf / install_name_tool with goblin

Open wolfv opened this issue 2 years ago • 0 comments

Hi, thanks for the great library! We're currently using it in a new package manager to read linked libraries and rpaths from .so and .dylib files.

We need to rewrite the dylibs to use a relative rpath (using $ORIGIN or @loader_path). We currently use patchelf and install_name_tool respectively for that, but obviously would love to get rid of those dependencies.

I wanted to ask wether you think it's feasible to rewrite entire dylib/so files in this way with goblin, and if there are any examples out there?

wolfv avatar Apr 13 '23 06:04 wolfv