-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot load libpq.dll on Windows #65
Comments
do you need to specify 32 bit? What if you just do Having libpq in the repo seems bad to me, perhaps we could put
|
I have to compile with mscoff, else it won't link properly. However it builds fine, but won't run since it can't load the library. I've also tried with other libpq.dll distributions, so I don't think it's a problem with that file in particular. It's just like derelict can't locate it for some reason. |
The referenced issue does not resolve my issue sadly. I have tried plenty of different libpq.dll's so far. |
I just encountered this same issue on 64-bit Windows 10. I copied the If I type "dub" or "dub run" a
So far, the workaround I've found is to copy the |
A reasonable solution may be to remove the dll from the repo and require windows users to supply the path to a local installation. Perhaps using I would've spent time on this before but I rarely use Windows when working on d code |
I'm brand new to D and it's tooling but I'm willing to help take a look. Would it be possible to supply both the (updated) libpq.dll and libpq.lib files as done with SQLite? The version of libpq.dll is three years old now so it might not be comparable with the latest version of libpq.lib (which is what I'm using in my case). |
Ran into this today. |
Does anyone have any idea what causes this? I can't seem to figure it out as libpq.dll is located within the folder of the executable.
I'm on Windows and compiled with
dub build -a=x86_mscoff
The screenshot shows the error and dub configurations.
I'm simply trying to compile and run the postgresql example give in the read me.
Am I missing some configurations or setup?
The text was updated successfully, but these errors were encountered: