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

Troubles with iconv with M1/M2 mac #8

Open
boogolli opened this issue Mar 20, 2024 · 3 comments
Open

Troubles with iconv with M1/M2 mac #8

boogolli opened this issue Mar 20, 2024 · 3 comments
Assignees

Comments

@boogolli
Copy link

Hi,

There is an issue with iconv after the latest osx upgrades on M1/M2 macs, the Iconv errors and the solution is to install iconv separately with command
gem install iconv -- --with-cflags="-Wno-incompatible-function-pointer-types"

Solution grapped from ruby/iconv#25

No idea if anything besides refactoring the gem out can solve it properly here.

@robflynn
Copy link
Owner

Thank you for the report, I mess around with this a bit on my m2.

@robflynn robflynn self-assigned this Mar 26, 2024
@boogolli
Copy link
Author

Looks like this repeats with M3 also with Sonoma 14.3, just fyi.

@chaadow
Copy link

chaadow commented Sep 8, 2024

This was fixed in ruby/iconv#26

But iconv maintainers did not release a new version with the fix, so in the meantime you can point to iconv's master branch

# Gemfile

gem 'iconv', github: 'ruby/iconv', branch: 'master'

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

3 participants