Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

LoadLibrary fails w/ Ruby 2.5 - Msys2 #23

@whiting0

Description

@whiting0

I'm running Windows 10, with IBM MQ v9
I updated extconf.rb in order to point to the cmqc.h in the alternate path. The gem build and gem install are successful, but whey trying to use the gem I get

examples/request.rb:13:in `connect': WMQ::QueueManager#connect(). Failed to load MQ Library:mqm, rc=126 (WMQ::WMQException)

I can run amqsputc from the same command line, so I know that the directory for mqic.dll is in the path, but LoadLibrary() doesn't find/load the .dll

ruby 2.3.3 with the old devkit works
I tried installing the old devkit, but that didn't help. Is this a basic fault in msys2, or is there an issue with the compile/link?

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