运行passenger-install-nginx-module时出undefined reference to symbol 'pow@@GLIBC_2.错误
-lpthread -lcrypt -lm /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/nginx/../common/libpassenger_common.a /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/nginx/../common/libboost_oxt.a -lstdc++ -lpthread /tmp/root-passenger-20247/pcre-8.12/.libs/libpcre.a -lssl -lcrypto -ldl -lz
/usr/bin/ld: /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/nginx/../common/libpassenger_common.a(aggregate.o): undefined reference to symbol 'pow@@GLIBC_2.0'
/usr/bin/ld: note: 'pow@@GLIBC_2.0' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libm.so so try adding it to the linker command line
/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libm.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [objs/nginx] 错误 1
make[1]:正在离开目录 `/tmp/root-passenger-20247/nginx-1.0.6'
make: *** [build] 错误 2
解决办法:
修改
相关文章:http://groups.google.com/group/phusion-passenger/browse_thread/thread/396f8d0ef9562e7a/c66984f188975884?show_docid=c66984f188975884