postgresql-interfaces / psqlodbc

Other
16 stars 15 forks source link

Request: Add Windows for ARM support #36

Open jraiford1 opened 3 months ago

jraiford1 commented 3 months ago

Windows for ARM does not seem to like Intel x64 drivers. If you try to create a data source against any Intel x64 driver you get an error message. It seems that Intel x64 applications are expected to use ARM ODBC drivers.

davecramer commented 2 months ago

that seems strange. I have tried to build this in the past with some luck. Will try again

jraiford1 commented 2 months ago

It may be that it builds ok. If so, that would be great. From what I can tell there is no way to download a precompiled driver. If I can simply compile it and use the generated driver that could be a short term workaround while we wait for an official driver build.

davecramer commented 2 months ago

I can get you dll's I am having challenges getting the installer to build though

jraiford1 commented 2 months ago

Thanks. The DLL's would be helpful. I'll follow up via email.

davecramer commented 2 months ago

psqlodbc30a.dll.gz

jraiford1 commented 1 month ago

I was able to download that DLL, thank you! Unfortunately this is only the ansi dll and does not include the other helper dll's. In particular, the dependency analyzer shows it is missing libpq.dll and pgelista.dll. Ultimately though I would need the Unicode dll's.

davecramer commented 1 month ago

psqlodbc.zip

jraiford1 commented 1 month ago

I wanted to follow up on this. I have tried to get this manually installed but I have not had any luck. I'm running Windows 11 ARM and the driver doesn't seem to want to load. It seems to complain about the Crypt32.dll not being correct. I think that's a Windows DLL, so it may be a problem with the Windows SDK? I have to drop this for now and have just moved back to my Intel machine. I appreciate you giving me a chance to try this. I'll circle back to it when I can and try on a Windows 10 ARM environment to see if it behaves better.

davecramer commented 1 month ago

@jraiford1 different version of openssl maybe