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

libintl.8.dylib is required on OSX #32

Open
cipriancraciun opened this issue Aug 31, 2022 · 3 comments
Open

libintl.8.dylib is required on OSX #32

cipriancraciun opened this issue Aug 31, 2022 · 3 comments

Comments

@cipriancraciun
Copy link

Trying to run bash 5.1.016-1.2.3 (the macos-x86_64 build) on the M1 seems to fail with:

dyld[28034]: Library not loaded: '/usr/local/opt/gettext/lib/libintl.8.dylib'
  Referenced from: '.../tools/bash--5.1.16/bash--darwin'
  Reason: tried: '/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file)
/usr/local/opt/gettext/lib/libintl.8.dylib

Installing gettext from Homebrew doesn't help, because on the ARM OSX they've changed the URL to /opt/homebrew/....

(I know there is also an ARM build, but I was trying to support both Intel and ARM architectures with a single executable...)

@robxu9
Copy link
Owner

robxu9 commented Oct 2, 2022

Hmmm... I'll have to look into it further. Probably something with the way I'm building the executable. Unfortunately I don't have a M1/M2 Mac atm so my visibility into that will be a bit limited.

@robxu9
Copy link
Owner

robxu9 commented Apr 10, 2023

Hey there! Apologies for the delay. I think https://github.com/robxu9/bash-static/releases/tag/5.2.015-1.2.3-2 may help with this—I built bash to use its own bundled gettext instead. Let me know if that works for you.

Also note that I've finally put out a universal binary—let me know if that works for you!

@cipriancraciun
Copy link
Author

Thanks for fixing it! However I don't have direct access to an OSX, so I'll have to ask my colleague to give it a try when he has the time. I'll report back my findings.

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

No branches or pull requests

2 participants