Skip to content

not working on Rocky Linux 9.x #191

@makhomed

Description

@makhomed

can you please make wkhtmltopdf-binary working without any problems and workarounds on the Rocky Linux 9.x and Rocky Linux 10.x ?

bug:

$ /home/www/bin/wkhtmltopdf --help
/home/www/.local/share/gem/ruby/gems/wkhtmltopdf-binary-0.12.6.9/bin/wkhtmltopdf:96:in `<top (required)>': Invalid platform, must be running on Ubuntu 16.04/18.04/20.04/22.04, CentOS 6/7/8, Debian 9/10/11/12, Archlinux amd64, Debian 9/10/11/12 arm64, or Intel-based Cocoa macOS (missing binary: /home/www/.local/share/gem/ruby/gems/wkhtmltopdf-binary-0.12.6.9/bin/wkhtmltopdf_rocky_9.6_amd64). (RuntimeError)
        from ./wkhtmltopdf:25:in `load'
        from ./wkhtmltopdf:25:in `<main>'

workaround:

$ cd /home/www/.local/share/gem/ruby/gems/wkhtmltopdf-binary-0.12.6.9/bin
$ ln -s wkhtmltopdf_debian_12_amd64.gz wkhtmltopdf_rocky_9.6_amd64.gz

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