Tech article

Got error msgpack on mac M2

Community description: gem install msgpack -v '1.2.10' --source 'https://rubygems.org/' Building native extensions. This...

Dev.to | Mar 10, 2026 | sugiarto

Automated excerpt

gem install msgpack -v '1. 2. 10' --source 'https://rubygems. org/' Building native extensions. ERROR: Failed to build gem native extension. checking for rb_str_replace() in ruby. h... yes checking for rb_intern_str() in ruby. h... yes checking for rb_sym2str() in ruby. h... yes checking for rb_str_intern() in ruby. h... yes checking for rb_block_lambda() in ruby. h... yes checking for rb_hash_dup() in ruby. h... yes checking for rb_hash_clear() in ruby. h... yes buffer_class. c:261:17: error: incompatible function pointer types passing 'VALUE (VALUE)' (aka 'unsigned long (unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] /Users/sugiarto/.

Selected automatically from source text; not independently written or fact-checked. Read the original for full context.

Read the original article

More tech news