Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.zig: enable headerpad_max_install_names on MacOs #55

Closed
wants to merge 1 commit into from

Conversation

iMichka
Copy link
Contributor

@iMichka iMichka commented Feb 14, 2023

Fixes error during packing on MacOS with Homebrew: Error: Failed changing dylib ID of /usr/local/Cellar/fastfec/0.1.9/lib/libfastfec.dylib
from @rpath/libfastfec.dylib
to /usr/local/opt/fastfec/lib/libfastfec.dylib
Error: Failed to fix install linkage

See ziglang/zig#13388, where this is inspired from

Description

Information about what you changed for this PR

Link to Jira Ticket

Test Steps

After Screenshot(s)

Before Screenshot(s)

@iMichka iMichka requested a review from a team as a code owner February 14, 2023 19:24
Fixes error during packing on MacOS with Homebrew:
Error: Failed changing dylib ID of /usr/local/Cellar/fastfec/0.1.9/lib/libfastfec.dylib
  from @rpath/libfastfec.dylib
    to /usr/local/opt/fastfec/lib/libfastfec.dylib
Error: Failed to fix install linkage

and

  Error: Failed changing install name in /opt/homebrew/Cellar/fastfec/0.1.9/bin/fastfec
    from /opt/homebrew/opt/pcre/lib/libpcre.1.dylib
      to @@HOMEBREW_PREFIX@@/opt/pcre/lib/libpcre.1.dylib

See ziglang/zig#13388, where this is inspired from
@freedmand
Copy link
Contributor

Thanks for the contribution! This seems like an apt change — we may need to update the GitHub actions yaml files as well to get an up-to-date version of Zig running. I can look into it tomorrow

@iMichka
Copy link
Contributor Author

iMichka commented Feb 15, 2023

I'm wondering if the fix should be done at the zig level instead of having to add it to each project using zig.

@chenrui333
Copy link

Any update on this thread? Has been a year :)

@freedmand freedmand mentioned this pull request Feb 25, 2024
@freedmand
Copy link
Contributor

Solved via #62

@freedmand freedmand closed this Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants