Cannot Install Phusion Passenger 3.0.13 with Nginx 1.2.1

Posted by LightBe Corp on Server Fault See other posts from Server Fault or by LightBe Corp
Published on 2012-06-15T22:20:17Z Indexed on 2012/06/16 9:18 UTC
Read the original article Hit count: 252

Filed under:
|

I installed gem Passenger which installed 3.0.13. Then I executed passenger-install-nginx-module which is what the Nginx instructions on http://www.modrails.com said to do. It installs the latest stable version which is 1.2.1 according to the Nginx official wiki page. I said to install Nginx to /usr/local/nginx (which is the default if you go to the nginx wiki website). I get the following errors:

Undefined symbols for architecture x86_64:
  "_pcre_free_study", referenced from:
      _ngx_pcre_free_studies in ngx_regex.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [objs/nginx] Error 1
make: *** [build] Error 2
--------------------------------------------

It looks like something went wrong

Please read our Users guide for troubleshooting tips:

   /Users/server1/.rvm/gems/[email protected]/gems/passenger-3.0.13/doc/Users guide Nginx.html

If that doesn't help, please use our support facilities at:

   http://www.modrails.com/

We'll do our best to help you.

I have done searches for several hours trying to find a resolution. I tried the Google Group for Phusion Passenger but did not find anything. I do not know if there is a mismatch in version numbers or not. The documentation says nothing about this error.

© Server Fault or respective owner

Related posts about nginx

Related posts about phusion-passenger