Issue #11073 has been updated by Gregor Mitzka.


The log of the error is this one:

~~~
[ 2015-04-17 10:00:43.6397 8885/7f2fe078f700 App/Implementation.cpp:287 ]: Could not spawn process for application [edited]: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger.
  Error ID: 07a5420e
  Error details saved to: /tmp/passenger-error-INTrB6.html
  Message from application: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger. Please read this article for more information about this problem.<br>
<h2>Raw process output:</h2>
<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>
~~~

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

* Author: Gregor Mitzka
* Status: Open
* 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/