NetBSD - ntdll.dll.so: wrong number of segments (3 != 2)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Adrien2002
Newbie
Newbie
Posts: 1
Joined: Wed Jul 26, 2017 11:30 am

NetBSD - ntdll.dll.so: wrong number of segments (3 != 2)

Post by Adrien2002 » Wed Jul 26, 2017 11:42 am

Hello there,
I'm tried IRC and bug report but no answer and a guy working on amd64 architecture of NetBSD is waiting for my tests to see if his patch for Wine is working or not but I'm stuck. I successfully built Wine Staging 2.13 i386 on NetBSD/amd64 doing a i386 chroot.
The installation is located under /usr/pkg32/(bin,lib)/.
When I try to run winecfg (or anything else), I have this :

wine: failed to initialize: /usr/pkg32/lib/wine/ntdll.dll.so: wrong number of segments (3 != 2)

I have no idea what I can do to fix this since I have no idea why I have this message and what it means

I really wish to find help here :(
Thank you very much

PS : I do NOT have Wine64 installed

Locked