amazon web services – 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/