--- Build.PL.orig 2016-01-10 22:06:24.000000000 -0800 +++ Build.PL 2019-05-07 12:37:11.000000000 -0700 @@ -44,6 +44,7 @@ }, add_to_cleanup => [ 'Poppler-*' ], create_license => 1, - share_dir => 'share', +# don't install outdated/inappropriate poppler typelib from distribution ./share +# share_dir => 'share', ); $builder->create_build_script; --- lib/Poppler.pm.orig 2019-05-07 01:09:39.000000000 -0700 +++ lib/Poppler.pm 2019-05-07 01:11:20.000000000 -0700 @@ -204,7 +204,8 @@ sub import { Glib::Object::Introspection->setup ( - search_path => File::ShareDir::dist_dir('Poppler'), +# use default search_path to find poppler's currently installed typelib +# search_path => File::ShareDir::dist_dir('Poppler'), basename => $_POPPLER_BASENAME, version => $_POPPLER_VERSION, package => $_POPPLER_PACKAGE,