oracle / truffleruby

A high performance implementation of the Ruby programming language, built on GraalVM.
https://www.graalvm.org/ruby/
Other
3.03k stars 185 forks source link

msgpack.so: undefined symbol: rb_tr_struct_define_va_list #3631

Closed rurounijones closed 4 months ago

rurounijones commented 4 months ago

Experimenting with switching a rails app to TruffleRuby. A number of dependencies rely on the msgpack gem which appears to cause an issue.

ruby --version
truffleruby 24.0.2, like ruby 3.2.2, Oracle GraalVM Native [aarch64-linux]

Attempting to start the server results in

bundle exec rails s -b 0.0.0.0
/usr/local/bin/ruby: symbol lookup error: /usr/local/bundle/gems/msgpack-1.6.0/lib/msgpack/msgpack.so: undefined symbol: rb_tr_struct_define_va_list

I am absolutely out of my wheelhouse here, I see that rb_tr_struct_define_va_list appears in the code in https://github.com/search?q=repo%3Aoracle%2Ftruffleruby%20rb_tr_struct_define_va_list&type=code but cannot do any real investigation.

rurounijones commented 4 months ago

This report may be premature, closing for the moment to reduce noise.