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

From: nobu@...
Date: 2015-04-17 12:46:24 UTC
List: ruby-core #68917
Issue #11073 has been updated by Nobuyoshi Nakada.

Description updated
Status changed from Open to Feedback

Gregor Mitzka wrote:
> ~~~
> <pre>
> /usr/bin/ruby: symbol lookup error: /usr/local/lib/ruby/gems/2.2.0/gems/json-1.8.2/lib/json/ext/parser.so: undefined symbol: rb_str_new_static
> </pre>
> ~~~

The executable binary file doesn't match with the gem path.
Is `/usr/bin/ruby` 2.2.0?

----------------------------------------
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-52182

* 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