[GNC] DLL Error - Windows

Ken Pyzik pyz01 at outlook.com
Mon Sep 29 11:12:51 EDT 2025


OK Mike — hope this information below helps.  I think you might want to try suggested fixes 1 and 3.  — Ken  (info from Copilot-MS).

Key Possibilities to Consider
1. Windows 11 on Unsupported Hardware = Unstable Behavior

  *
Microsoft doesn’t guarantee full compatibility or stability on unsupported CPUs.
  *
Even if Windows 11 installs, certain system-level features (like security sandboxing, driver support, or permission enforcement) may behave unpredictably.
  *
This could manifest as DLL access issues, especially in protected directories like Program Files.

2. Permissions & UAC (User Account Control)

  *
Windows 11 enforces stricter permissions in C:\Program Files and C:\Program Files (x86).
  *
If GNUcash is trying to load a DLL from this directory without elevated privileges, it may fail.
  *
On the supported machine, UAC might be properly configured or the app might be running as Administrator—while on the unsupported one, it’s blocked.

3. Installation Integrity or File Ownership

  *
If the program was installed under a different user account or without admin rights, the DLL might be inaccessible.
  *
You can check file ownership and permissions by:
     *
Right-clicking the DLL → Properties → Security tab → Advanced → Owner
     *
Ensuring the current user has read/execute permissions

4. Missing Dependencies or Corrupted Install

  *
GNUcash relies on several runtime libraries (e.g., GTK, libdbi, etc.).
  *
If the unsupported machine has a corrupted or incomplete install, or if the DLL was blocked by SmartScreen or antivirus, it could cause this issue.

🛠️ Suggested Fixes
Here’s a quick checklist you could try on the unsupported machine:

  1.
Run GNUcash as Administrator
     *
Right-click the shortcut → “Run as administrator”
  2.
Check DLL Permissions
     *
Navigate to the DLL file → Right-click → Properties → Security tab
     *
Ensure current user has Read & Execute permissions
  3.
Reinstall GNUcash
     *
Uninstall completely
     *
Reinstall using “Run as administrator” on the installer
  4.
Try Compatibility Mode
     *
Right-click the executable → Properties → Compatibility tab
     *
Set to Windows 8 or Windows 10

________________________________
From: Mike Jackson <m.jackson at computer.org>
Sent: Monday, September 29, 2025 7:45 AM
To: Ken Pyzik <pyz01 at outlook.com>
Cc: Adam Griffis <adam.griffis at gmail.com>; Gnucash Users <gnucash-user at gnucash.org>
Subject: Re: [GNC] DLL Error - Windows

Ken

Both are HP laptops though one is an i5 and the other is an i7. One significant difference between them would be that the i5 is on the list of chips which Microsoft supports for Windows 11 (this is the one where the installation works) and the i7 is not supported for Windows 11 but I have installed it regardless of this and have yet to encounter any other problem caused by this. I am admin on both machines, They are both connected to the wifi network but neither accesses program files directory via the network.

I have a third desktop machine which is also on the list of Windows 11 supported chips and I could install gnucash there to see if this is successful.

Mike

On Mon, 29 Sept 2025 at 15:26, Ken Pyzik <pyz01 at outlook.com<mailto:pyz01 at outlook.com>> wrote:
Mike — I'll take a stab at this - but it's just an idea to try and narrow this down.  It sounds like a windows permission issue.

First, are both PC desktops or is one a desktop and the other a laptop?  Second are you the admin on both machines or not?  Third - are they networked and/or are their any other unique networking configurations that would prevent you from getting to the Program Files directory?  I only ask these question because on some corporate machines (i.e., company machines like a company laptop), they prevent you from accessing the program files directory.

These are just my guesses.  Anytime I have had issues with programs running one machine but not the other it was usually a permissions issue.

Ken
________________________________
From: Mike Jackson <m.jackson at computer.org<mailto:m.jackson at computer.org>>
Sent: Monday, September 29, 2025 7:12 AM
To: Ken Pyzik <pyz01 at outlook.com<mailto:pyz01 at outlook.com>>
Cc: Adam Griffis <adam.griffis at gmail.com<mailto:adam.griffis at gmail.com>>; Gnucash Users <gnucash-user at gnucash.org<mailto:gnucash-user at gnucash.org>>
Subject: Re: [GNC] DLL Error - Windows

As I have posted I get I have two PCS both running an up to date Windows 11. I see this error on one but not on the other!

Mike

On Mon, 29 Sept 2025 at 14:43, Ken Pyzik <pyz01 at outlook.com<mailto:pyz01 at outlook.com>> wrote:
What version of Windows are you running?  I am running Windows 11 (latest updates) and have no issues.

Ken
________________________________
From: gnucash-user <gnucash-user-bounces+pyz01=outlook.com at gnucash.org<mailto:outlook.com at gnucash.org>> on behalf of Adam Griffis <adam.griffis at gmail.com<mailto:adam.griffis at gmail.com>>
Sent: Monday, September 29, 2025 12:49 AM
To: Gnucash Users <gnucash-user at gnucash.org<mailto:gnucash-user at gnucash.org>>
Subject: [GNC] DLL Error - Windows

Hi all, I'm getting an error when trying to run 5.13 on Windows.

"The procedure entry point clock_gettime32 could not be located in
dynamic link library C:\Program Files
(x86)\gnucash\bin\libstdc++-6.dll"

I went through the process of installing earlier versions between 5.12
and 5.13, and it looks like the issue started with the following
version that was released on 2025-07-26, which is when that DLL was
updated from a 2023 version to a 2025 version:

gnucash-5.12-2025-07-26-git-5.12-25-ga773248939+.setup.exe

Is this a known issue?

Thanks,
Adam
_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org<mailto:gnucash-user at gnucash.org>
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


More information about the gnucash-user mailing list