2011-10-17 6 views
5

방금 ​​우분투 11.10으로 업그레이드했는데 phusion 승객을 시작하는 데 문제가 있습니다. 다음과 같은 오류가 나타납니다.Phusion Passenger 우분투 11.10

/usr/bin/ld: /usr/lib/ruby/gems/1.8/gems/passenger-3.0.8/ext/nginx/../common/libpassenger_common.a(aggregate.o): undefined reference to symbol '[email protected]@GLIBC_2.2.5' 
/usr/bin/ld: note: '[email protected]@GLIBC_2.2.5' is defined in DSO /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/libm.so so try adding it to the linker command line 
/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/libm.so: could not read symbols: Invalid operation 
collect2: ld returned 1 exit status 
make[1]: *** [objs/nginx] Error 1 
make[1]: Leaving directory `/tmp/root-passenger-23103/nginx-1.0.5' 
make: *** [build] Error 2 

이 문제에 대한 수정 프로그램이 있는지 또는 곧 수정 될 수있는 알려진 문제인지 궁금 했습니까?

감사합니다.

답변

11

이 문제를 해결하려면 gcc-4.4를 설치하십시오. 나는 승객 보석이 이미 설치했고, RVM 설치 rvmsudo 시스템 전체의 하나의 대신 사용하고 싶었로

sudo apt-get install gcc-4.4 g++-4.4 libstdc++6-4.4-dev 
rvmsudo CC=gcc-4.4 passenger-install-nginx-module 
+0

여전히 14.04에 문제를 해결 :) – soupdiver

0

rvmsudo 솔루션은 나를 위해 작동하지 않았다. 나를 위해 일을 무슨 짓을

은 다음과 같습니다

sudo apt-get install gcc-4.4 g++-4.4 libstdc++6-4.4-dev 
CC=gcc-4.4 passenger start 
관련 문제