Skip to content

pdfium_ruby not working under ruby 2.3.1 #9

@agnewtj

Description

@agnewtj

Just tried to install pdfshaver in the latest xenial distro. Used the default system ruby (now 2.3.1), which worked when 2.3.0 was the ubuntu default. The make seems to work, but here's what I get when I require 'pdfshaver':

pry -e "require 'pdfshaver'" LoadError: /var/lib/gems/2.3.0/gems/pdfshaver-0.0.3/lib/pdfium_ruby.so: undefined symbol: FPDFAPIJPEG_jpeg_destroy_decompress - /var/lib/gems/2.3.0/gems/pdfshaver-0.0.3/lib/pdfium_ruby.so from /var/lib/gems/2.3.0/gems/pdfshaver-0.0.3/lib/pdfshaver.rb:13:inrequire_relative'
`

If feels like the fpdf api library is not linking properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions