Skip to content

Failed to load GLES library with the latest prebuild binary #336

Open
@nemnemnemy

Description

@nemnemnemy

I downloaded the following zip and unzip it on amazon linux 2.
https://github.com/adieuadieu/serverless-chrome/releases/download/v1.0.0-57/stable-headless-chromium-amazonlinux-2.zip

Then, I ran the following command.
./headless-chromium --headless --no-sandbox --single-process --disable-gpu --version

Then I got the following error. Do I need anything else to run the headless-chromium? Where can I find a portable binary that works by itself?

[0502/065852.689593:WARNING:resource_bundle.cc(431)] locale_file_path.empty() for locale
[0502/065852.717915:WARNING:resource_bundle.cc(431)] locale_file_path.empty() for locale
[0502/065852.717915:WARNING:resource_bundle.cc(431)] locale_file_path.empty() for locale
Fontconfig error: Cannot load default config file: No such file: (null)
[0502/065852.727725:ERROR:egl_util.cc(70)] Failed to load GLES library: /chrome/swiftshader/libGLESv2.so: /chrome/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[0502/065852.732127:ERROR:gpu_channel_manager.cc(749)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[0502/065852.732156:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[0502/065852.732198:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[0502/065852.730431:FATAL:platform_font_skia.cc(97)] Check failed: InitDefaultFont(). Could not find the default font

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions