PhantomJS en CentOS 5.5 (versiones glibc y libstdc++)

PhantomJS en CentOS 5.5 (versiones glibc y libstdc++)

Estoy intentando ejecutar PhantomJS en CentOS, pero aparece lo siguiente:

./phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ./phantomjs)
./phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./phantomjs)
./phantomjs: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by ./phantomjs)
./phantomjs: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /home/bamboo/bamboo-data/xml-data/build-dir/PHANTOMJS-ARTIFACT-JOB1/target/checkout/dists/linux_x64/bin/../lib/libQtGui.so.4)
./phantomjs: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by /home/bamboo/bamboo-data/xml-data/build-dir/PHANTOMJS-ARTIFACT-JOB1/target/checkout/dists/linux_x64/bin/../lib/libQtGui.so.4)
./phantomjs: /lib64/libc.so.6: version `GLIBC_2.9' not found (required by /home/bamboo/bamboo-data/xml-data/build-dir/PHANTOMJS-ARTIFACT-JOB1/target/checkout/dists/linux_x64/bin/../lib/libQtGui.so.4)
./phantomjs: /lib64/libc.so.6: version `GLIBC_2.10' not found (required by /home/bamboo/bamboo-data/xml-data/build-dir/PHANTOMJS-ARTIFACT-JOB1/target/checkout/dists/linux_x64/bin/../lib/libQtNetwork.so.4)
./phantomjs: /lib64/libc.so.6: version `GLIBC_2.9' not found (required by /home/bamboo/bamboo-data/xml-data/build-dir/PHANTOMJS-ARTIFACT-JOB1/target/checkout/dists/linux_x64/bin/../lib/libQtCore.so.4)

Incluso construí una versión estática de PhantomJS, pero parece que las bibliotecas incluidas con PhantomJS dependen de glibc y libstdc++.

Construir un binario PhantomJS específico en CentOS no es una opción porque esta máquina es nuestra caja de integración continua que construye y prueba nuestro proyecto. Tengo PhantomJS empaquetado como un artefacto que luego se descomprime durante el proceso de compilación y se usa (para la integración continua de Javascript). Así que es necesario utilizar exactamente este artefacto.

¿Existe una manera sencilla de actualizar glibc y libstdc++? Lo intenté yum install glibcy yum install libstdc++. Noté que realizó una actualización, pero no hubo cambios después de que intenté ejecutar PhantomJS nuevamente.

Respuesta1

Construiste PhantomJS en un sistema mucho más nuevo que aquel en el que intentas implementarlo. Reconstrúyalo en un sistema que coincida con el sistema de implementación.

información relacionada