MINGW-packages: Failed to load 'libwebkitgtk-3.0-0.dll

Hello,

When I try to use “mingw-w64-x86_64-webkitgtk3 2.4.11-1” through the perl module Gtk3::WebKit, I get the following error:

WARNING **: Failed to load shared library ‘libwebkitgtk-3.0-0.dll’ referenced by the typelib: ‘libwebkitgtk-3.0-0.dll’: Die angegebene Prozedur wurde nicht gefunden. at C:/msys64/mingw64/lib/perl5/site_perl/Glib/Object/Introspection.pm line 110.

and two lines later

Could not locate symbol webkit_web_view_new at ./test_webkit.pl line 12. (sorry for the german output, I tried LC_ALL=C and LC_ALL=en_US.utf8 without success)

A little example code that doesn’t work could look like this:

#!/usr/bin/perl

use strict; use warnings;

use Gtk3 -init; use Gtk3::WebKit;

my $window=Gtk3::Window->new(); $window->signal_connect('delete-event' => sub {Gtk3->main_quit()}); my $scroll_win = Gtk3::ScrolledWindow->new(); my $view = Gtk3::WebKit::WebView->new(); my $html_content = "<h1>Hello World</h1><br><p>This should be shown in the webview</p>"; $view->load_html_string($html_content, ''); $scroll_win->add($view); $window->add($scroll_win); $window->show_all(); Gtk3->main();

the perl module Gtk3 and Gtk3::WebKit are installed (of course the tests of Gtk3::WebKit failed, too)

Has someone an idea or can help? It would be great if this error could be fixed and Gtk3::WebKit could be used! Because the perl module uses the Glib::Object::Introspection interface I think other language bindings (python, Vala) are also affected? Thanks in advance, Max

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 25 (2 by maintainers)

Most upvoted comments

@litch0 you have to build all the dependencies yourself.