mysql2 icon indicating copy to clipboard operation
mysql2 copied to clipboard

/gems/mysql2-0.5.3/lib/mysql2/mysql2.so: undefined symbol: rb_tainted_str_new2

Open mamirad opened this issue 11 months ago • 1 comments

OS: Ubuntu Ruby version: 3.3.6 Rails version: 7.0.1 Puma: 5.6.9

Error: puma 5.6.9 (tcp://localhost:3000) [ledger]: symbol lookup error: /home/amir/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.so: undefined symbol: rb_tainted_str_new2

mamirad avatar Jan 17 '25 11:01 mamirad

This has been fixed years ago, you need to upgrade the gem to at least 0.5.4: https://github.com/brianmario/mysql2/pull/1083

byroot avatar Feb 09 '25 08:02 byroot