Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

347
Visualizações
running google chrome headless on ec2 ubuntu server

Hello I have a ec2 server, here is the config :

DNS public (IPv4) : ec2-18-191-6-130.us-east-2.compute.amazonaws.com

ID d'AMI : ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20200611 (ami-0a63f96e85105c6d3)

When I try to install google chrome to use it headless I have this problem :

cat: relocation error: /opt/google/chrome/lib/libc.so.6: symbol _dl_starting_up version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference

I indicate that I follow this simple tuto to install chrome on my ec2 server : https://understandingdata.com/install-google-chrome-selenium-ec2-aws/

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I tried to replicate and had same issues as you. But an alternative approach worked for me. You may try that, preferably on fresh ubuntu instance.

install pre-requsits

sudo apt update
sudo apt install unzip libnss3 python3-pip

install driver for chrome 83

cd /tmp/
sudo wget https://chromedriver.storage.googleapis.com/83.0.4103.39/chromedriver_linux64.zip
sudo unzip chromedriver_linux64.zip
sudo mv chromedriver /usr/bin/chromedriver
chromedriver --version

install google-chrome-stable current version (83)

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb

check installation

google-chrome-stable --version

install selenium

pip3 install selenium --user

The installation is successful in my tests, but I haven't verified if selenium works as intended. I only focused on whether chrome and selenium install.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda