In this repo we collect some infos on building current versions of chromium and chromedriver on CentOS 6.
As CentOS 6 is no longer supported by Google, you will get the following error when trying to start chromedriver:
/lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./chromedriver)
./chromedriver: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by ./chromedriver)
./chromedriver: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./chromedriver)
rpmbuild
to the rescue!
The source rpm provided is based on http://people.centos.org/hughesjr/chromium/6/
All we did was adding chromedriver to the spec, and adding a patch for a failing revision resolution for the chromedriver sources.
Program | Version |
---|---|
ChromeDriver | v2.3 |
Chromium | 31.0.1650.63 |
Do NOT do this as root! You might damage your system!
RPM building will take place in ~/rpmbuild
.
wget http://downloads.onrooby.com/chromium/srpms/chromium-31.0.1650.63-1.el6.src.rpm
rpm -ivh chromium-31.0.1650.63-1.el6.src.rpm
cd ~/rpmbuild/SPECS
rpmbuild -ba chromium.spec
When rpmbuild complains about missing dependencies (mostly devel packages), install them using
yum install <packagenames>
We provide pre-built packages. Use at your own risk!
http://downloads.onrooby.com/chromium/rpms/
- Split packages into chromium and chromium-chromedriver