Error installing nginx with passenger-install-nginx-module on ubuntu 11.10 & rails 3.1.0
- by user938363
Here is the error message from installing nginx with passenger-install- nginx-module (rvmsudo). The nginx is 1.0.6 installed under /opt/nginx (default). gem install passenger successfully prior.
Someone has idea about the problem? thanks.
/usr/bin/ld: /home/dtt/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
ext/nginx/../common/libpassenger_common.a(aggregate.o): undefined
reference to symbol 'round@@GLIBC_2.2.5'
/usr/bin/ld: note: 'round@@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-2135/nginx-1.0.6'
make: *** [build] Error 2
--------------------------------------------
It looks like something went wrong