Closed creasman closed 5 months ago
Got same issue on node 18.20.2 for 2.x.x ibmmq releases. I'm on Sonoma 14.4.1.
works for me, although I don't install globally: node : v18.17.1 Sonoma : 14.4 ibmmq : 2.0.3
gcc --version Apple clang version 15.0.0 (clang-1500.3.9.4) Target: arm64-apple-darwin23.4.0 Thread model: posix
It doesn't happen on my machine, but I deliberately don't keep up with the latest compiler changes - bumping versions can mean that compiled binaries no longer run on slightly older systems.
I guess that something in the newer compiler/SDK has either changed to pull in an additional package from the standard libraries, or that there's something changed in how it resolves names.
The only thing that is likely to work is to change the hex
in mqi.cc to something like hexChars
. I can make that change for the next iteration of the package, but for now, you'd have to edit the file yourself.
Mark, confirming that I ran the install of version 2.0.4 on my Mac and it works for me, now. Thanks for making the update!
I am attempting to upgrade my local development environment on MacOS to the latest version. Whenever I run
sudo npm -g install ibmmq@2.0.3
I get the following errors:I ran the install using Node 20.10.0, 20.11.1 and 20.12.0. All end with the same error. This error does not occur when installing the package into our Docker image that is based on node-bullseye-20. This uses Debian Linux.
It would appear the use of hex in this case is a coding error the for MacOS C compiler. Please advise.
Thanks, Jim