libplc4.dll Error in Windows 10 and 11: NSPR utility module load errors

A custom tool opens on a build machine but stops with an entry-point or missing-library error in a deployed copy.
What this DLL does
MSYS2 includes libplc4.dll among the Windows NSPR companion libraries.
Start with this check
Confirm the deployed package contains the exact NSPR version your executable was built against. Identify the full path in the error and compare the rest of the distributed dependencies.
Record the exact error, when it occurred, and the full module path if available. For a crash, open View reliability history from Start and look for the matching entry. The affected app, faulting module and exception code help distinguish an app problem from a system-wide one.
Record whether the runtime reports a missing module or missing entry point. A missing entry point can indicate incompatible versions even when a file exists.
Choose the repair that fits
Repair the full Windows app package or restore the NSPR distribution in the original supported toolchain. Keep the utility module and runtime at matching versions.
Start with Microsoft’s app repair options if only one supported application fails. If unrelated built-in Windows features also fail and you suspect system file corruption, use Microsoft’s DISM and System File Checker instructions. Use supported packages and avoid downloading individual DLL files.
Verify the repair
Start the application from the original deployment folder and run a known command that previously failed.
For a related check, see nss3.dll troubleshooting. Browse the DLL Errors & Fixes Library. Official reference: MSYS2’s Windows NSPR package manifest.