[ruby-core:68918] [Ruby trunk - Bug #11073] gems/json-1.8.2/lib/json/ext/parser.so: undefined symbol: rb_str_new_static

From: gregor.mitzka@...
Date: 2015-04-17 13:16:39 UTC
List: ruby-core #68918
Issue #11073 has been updated by Gregor Mitzka.


Maybe this was the solution. I removed ruby, rubygems and bundler from my machine and reinstalled all components from the bottom. Now everything works just fine. I also updated the JSON package from version 1.8.1 to 1.8.2.

----------------------------------------
Bug #11073: gems/json-1.8.2/lib/json/ext/parser.so: undefined symbol: rb_str_new_static
https://bugs.ruby-lang.org/issues/11073#change-52183

* Author: Gregor Mitzka
* Status: Feedback
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
Currently I am trying to get things started with Passenger and Apache 2 on a Ubuntu 14.4 LTS machine and ruby 2.2.0. Some errors I could fix but this on is tricky. The error says that there is a undefined symbol in the `parser.so`, but `rb_str_new_static` is only defined in `include/ruby/intern.h` and used once few lines below and once in `string.c`. Since I have no clue about the internal C structure of ruby I don't know how to fix and change it.

Note: reinstalling all gems (including the packages `json` and `multi_json`) did not make a change.




-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next