Wine install issue: could not load ntdll.so

I am on 17.3
I have installed the windows support

This is the error I am getting trying to install windows software that is working on other linux distributions:

wine: could not load ntdll.so: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /home/graham/.AffinityLinux/ElementalWarriorWine/bin/../lib/wine/x86_64-unix/ntdll.so)

My understanding so far is that Zorin 17.3 is using a different GCLIB version. I am just wondering if a different version of WINE would get me the ntdll.so that I am missing or if I need a different Linux distro altogether.

thanks

How did you install wine?

Looking at your sources:

ls /etc/apt/sources.list.d

is the Wine Repository jammy?

Welcome to the Forum!

You mean the Windows App Support over the Shortcut?

yes, and using this via curl

https://raw.githubusercontent.com/ryzendew/AffinityOnLinux/refs/heads/main/AffinityScripts/AffinityPhoto.sh

all files in sources.list.d

brave-browser-release.list
zorin.list
zorinos-ubuntu-drivers-jammy.list
zorinos-ubuntu-stable-jammy.list
mozilla.list
zorinos-ubuntu-apps-jammy.list
zorinos-ubuntu-patches-jammy.list

That Curl you used installed a version of Wine/WineTricks that was built against glibc 2.38 instead of 2.35.

I would undo that action and instead install Wine directly from the Jammy Repository to prevent such conflicts.

In your Home Directory, tap ctl+h to reveal hidden system files.
Delete .AffinityLinux
Delete .wine
Check ~/.local/share/applications/ for affinity-photo.desktop -if present, delete that, too...

Remove wine:

sudo apt remove --purge wine winetricks

Clean the cache'

sudo apt clean && sudo apt autoremove

Install Wine

Grab the key (making a directory for it, first). Copy and paste each line, one at a time in terminal:

sudo mkdir -pm755 /etc/apt/keyrings

sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

Add the repository source:
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources

Update and install:

sudo apt update && sudo apt install --install-recommends winehq-stable

You can reinstall winetricks, if you want

sudo apt install winetricks

Now, if you move or download Affinity Photo .exe file to Zorin OS, you should be able to launch and run its installer using Wine.

First, thank you for composing a detailed list of actions!

I followed the instructions and it looks like it starts the process of installing Affinity Photo and... Then nothing happens.

I did the process again and then ran the problematic curl script again. It actually installed it this time, made shortcuts and all but it would not run. I still got the same missing error regarding ntdll.so and removed it all again and tried installing form a few different folders, Nothing really happens after that and it is not installed. Is there a method using wine as a shell of some kind that I am missing?

Sorry, this is not my first time using Linux, I have installed a couple Ubuntu servers and run a couple of internal web sites at work, but this kind of hacking it with Wine stuff is beyond me. I really like the workflow i have with the affinity suite, but may have to swap it out for something else on this machine.

Wine is a compatibility layer, but we must remember it is Not Windows.
Many things work very well with Wine.
Reading this post:

I think we see why you were using that complicated script.

I am not sure, either. When I left Windows OS behind, I dabbled in Wine at the beginning, then began using native GnuLinux packages.
Opinions are divided about how well one package compares to another, but for me, they served my needs well enough (Or often, better) that I did not need Wine.