-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Webkit doesn't work on Linux Red Hat 8 #6140
Comments
We only provide Linux builds for Ubuntu 18.04 and 20.04 at the moment. RHEL 8 is not officially supported currently. The most reliable way to run webkit on RHEL would be to build it from sources.
libvpx-1.7.0-8.el8.i686.rpm provides libvpx.so.5 while webkit requires libvpx.so.6. Note also that the versioning is distribution-specific for libvpx and it may well be two different APIs in Ubuntu and RHEL even though the number matches. |
On Thu, 8 Apr 2021 at 18:30 Yury Semikhatsky ***@***.***> wrote:
We only provide Linux builds for Ubuntu 18.04 and 20.04 at the moment.
RHEL 8 is not officially supported currently. The most reliable way to run
webkit on RHEL would be to build it from sources.
libvpx.i686 1.7.0-8.el8 rhel-8-for-x86_64-appstream-rpms
libvpx-1.7.0-8.el8.i686.rpm
<https://centos.pkgs.org/8-stream/centos-appstream-x86_64/libvpx-1.7.0-8.el8.i686.rpm.html>
provides libvpx.so.5 while webkit requires libvpx.so.6. Note also that the
versioning is distribution-specific for libvpx and it may well be two
different APIs in Ubuntu and RHEL even though the number matches.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6140 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVT6UZ5YMQYHE6YA3LCHW3THXKZ3ANCNFSM42TBA55A>
.
Thanks very much for the information! How do I build WebKit from source for
RHEL?
|
We use build.sh and all the patches are in that directory too. Basic instructions on how to checkout the sources are here. For the prerequisites see upstream webkit documentation. |
I have an organization I work with, who would want to use this on OpenShift. It would be great if there was RHEL UBI image build for playwright as well in addition to Ubuntu. Problem with ubuntu images often run into issues like ubuntu not having selinux which fail useradd etc random stuff. https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image |
Context:
Code Snippet
const { webkit } = require('playwright');
(async () => {
const browser = await webkit.launch({
headless: false
});
const page = await browser.newPage();
await page.goto('http://whatsmyuseragent.org/');
await page.screenshot({ path:
example.png
});await browser.close();
})();
Describe the bug
pw:protocol SEND ► {"id":1,"method":"Playwright.enable"} +0ms
pw:browser [pid=4013250][err] /uio/platon/med-medsekr-u1/marycm/.cache/ms-playwright/webkit-1446/minibrowser-gtk/bin/MiniBrowser: error while loading shared libraries: libvpx.so.6: cannot open shared object file: No such file or directory +
I have installed these packages:
libvpx.i686 1.7.0-8.el8 rhel-8-for-x86_64-appstream-rpms
libvpx.x86_64 1.7.0-8.el8 rhel-8-for-x86_64-appstream-rpms
The text was updated successfully, but these errors were encountered: