Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

637
Views
¿Cómo actualizar glibc de la versión 2.12 a la 2.14 en CentOS?

No sé cómo actualizar glibc de la versión 2.12 a la 2.14 en CentOS 6.3. Necesito tu ayuda.

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

No puede actualizar glibc en Centos 6 de forma segura. Sin embargo, puede instalar 2.14 junto con 2.12 fácilmente y luego usarlo para compilar proyectos, etc. Así es como se hace:

 mkdir ~/glibc_install; cd ~/glibc_install wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz tar zxvf glibc-2.14.tar.gz cd glibc-2.14 mkdir build cd build ../configure --prefix=/opt/glibc-2.14 make -j4 sudo make install export LD_LIBRARY_PATH=/opt/glibc-2.14/lib
over 4 years ago · Santiago Trujillo Report

0

Encontré esta fuente muy útil y no tiene mucho SEO. Enumera los errores más comunes que puede encontrar al usar la excelente respuesta de @UnitasBrooks y me temo que se perderá en el futuro.

Este es el enlace a la publicación original.

Lo copiaré y lo pegaré aquí ( me enfrenté al último problema y lo arreglé, sin embargo, no probé todos los problemas/soluciones enumerados y tú lo intentas bajo tu propio riesgo )


Instalación de Glibc

La biblioteca GNU C, comúnmente conocida como glibc, es la implementación del proyecto GNU de la biblioteca estándar C. Mi entorno requería glibc (versión 2.14) y me costó un poco hacer que funcionara, así que espero que esto le ahorre algo de tiempo.

0. Dependencias de instalación de Glibc

 Bash: sh Binutils: ar, as, ld, ranlib, readelf Diffutils: cmp Fileutils: chmod, cp, install, ln, mknod, mv, mkdir, rm, touch Gcc: cc, cc1, collect2, cpp, gcc Grep: egrep, grep Gzip: gzip Make: make Gawk: gawk Sed: sed Sh-utils: date, expr, hostname, pwd, uname Texinfo: install-info, makeinfo Textutils: cat, cut, sort, tr

1.Descargue el paquete de instalación

 http://www.gnu.org/software/libc/ for all versions. http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz for version 2.14.

2. Compilar e instalar

Para evitar perturbar el entorno actual, compile e instale esta versión por separado configurando el prefijo.

 [root@localhost ~]# tar xvf glibc-2.14.tar.gz [root@localhost ~]# cd glibc-2.14 [root@localhost glibc-2.14]# mkdir build [root@localhost glibc-2.14]# cd ./build [root@localhost build]# ../configure --prefix=/opt/glibc-2.14 [root@localhost build]# make -j4 [root@localhost build]# make install [root@localhost build]# export LD_LIBRARY_PATH=/opt/glibc-2.14/lib:$LD_LIBRARY_PATH

3. Para verificar las versiones de glibc instaladas

 root@localhost:~/intel64/runtime/glibc$ strings libc.so.6 | grep GLIBC GLIBC_2.2.5 GLIBC_2.2.6 GLIBC_2.3 GLIBC_2.3.2 GLIBC_2.3.3 GLIBC_2.3.4 GLIBC_PRIVATE

4.Errores de compilación

Error:

make[1]: *** No hay regla para hacer target /mnt/lfs/sourcenew/glibc-build/Versions.all', needed by /mnt/lfs/sourcenew/glibc-build/abi-versions.h'. Detenerse.

Solución:

 sudo apt-get install gawk sudo apt-get install texinfo

Error:

hacer[2]: *** [/mnt/lfs/sources/glibc-build/misc/syslog.o] Error 1

Solución:

 make clean make -j2 CFLAGS="-U_FORTIFY_SOURCE -O2 -fno-stack-protector"

Error:

/Descargas/glibc-2.14/build/elf/ldconfig: No se puede abrir el archivo de configuración /opt/glibc-2.14/etc/ld.so.conf: No existe tal archivo o directorio

Solución:

 :/opt/glibc-2.14/etc$ sudo sh -c "echo '/usr/local/lib' >> ld.so.conf" :/opt/glibc-2.14/etc$ sudo sh -c "echo '/opt/lib' >> ld.so.conf"
over 4 years ago · Santiago Trujillo Report

0

Para actualizar glibc, use el siguiente comando

 yum -y update glibc
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!