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

367
Views
Falta la biblioteca libX11.so.6 para el contenedor docker openjdk:12-jdk

Tengo un Dockerfile que es de openjdk-12-jdk . En mi aplicación, una dependencia ( https://github.com/bonigarcia/webdrivermanager ) aparentemente requiere la biblioteca libX11.so.6, ya que la aplicación no se inicia con

/usr/src/app/etc/chromedriver/linux64/75.0.3770.8/chromdriver: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

yum whatprovides libX11.so.6 , que devolvió

 bash-4.2# yum whatprovides libX11.so.6 Loaded plugins: ovl libX11-1.6.5-1.el7.i686 : Core X11 protocol client library Repo : ol7_latest Matched from: Provides : libX11.so.6 libX11-1.6.5-2.el7.i686 : Core X11 protocol client library Repo : ol7_latest Matched from: Provides : libX11.so.6 libX11-1.6.5-1.el7.i686 : Core X11 protocol client library Repo : @ol7_latest Matched from: Provides : libX11.so.6

Así que agregué RUN yum -y install libX11-1.6.5-1.el7.i686 a mi Dockerfile.

Pero el error persiste y sigue fallando con el mismo error que se escribió anteriormente.

Así que probé yum install libX11.i686 directamente dentro del contenedor, pero nuevamente sin éxito para la aplicación.

¿Cómo puedo obtener esta biblioteca? ¿O esto no es posible con oraclelinux , esa es la base de la ventana acoplable openjdk-12-jdk ?

===== EDITAR ====

cuando trato de iniciar Chromedriver para una prueba de selenio, también traté de llamarlo sin cabeza, pero también ocurre el mismo error

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Use el siguiente comando para agregar el componente faltante:

 yum -y install libX11
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!