in reply to [OT] Win32: How does Gtk2-WebKit load glib-networking ?

Hi,

These pages are interesting

Re: TLS/SSL support not available on Android even with glib-networking

https://developer.gnome.org/gio/stable/running-gio-apps.html

https://developer.gnome.org/gio/stable/GIOModule.html#g-io-modules-load-all-in-directory

They seem to suggest the module names aren't known ahead of time but are read in from a "GIO_MODULE_DIR" directory

  • Comment on Re: [OT] Win32: How does Gtk2-WebKit load glib-networking ?

Replies are listed 'Best First'.
Re^2: [OT] Win32: How does Gtk2-WebKit load glib-networking ?
by syphilis (Archbishop) on Jun 02, 2017 at 07:40 UTC
    These pages are interesting

    Indeed they are - and thank you very much for digging them up.
    Setting $ENV{GIO_MODULE_DIR} to the location of libgiognutls.dll is enough to get that dll to load when the demo is run. At least, an attempt is made to load it.
    There's a bit more to work through, but this is precisely the start that I was seeking.

    I'll post (in this thread) the full solution when I get there ... perhaps preceded by some additional questions if the need arises.

    Thanks again.

    Cheers,
    Rob
      I'll post (in this thread) the full solution when I get there

      It turns out to be fairly straightforward.
      Setting $ENV{GIO_MODULE_DIR} or $ENV{GIO_EXTRA_MODULES} to the location of libgiognutls.dll is all that's needed to make that dll locatable, and it doesn't seem to matter if one changes the name of that dll.
      Apart from that, I just need to ensure that all of the dlls that libgiognutls.dll needs to pull in can be found. This can be achieved by (eg) making sure that they're all in $ENV{PATH}.

      Cheers,
      Rob