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
[Bug]: error: PostgreSQL/15/lib/timescaledb-2.10.2.dll Unable to load library The specified module could not be found #5631
Comments
Installed git, those files are present in mingw64/bin. Either move them to the Postgres lib folder or add the path to env variables. |
" adding C:\Program Files\Git\mingw64\bin as system variable. " |
Hi @lyriumbytes, Thank you for raising the issue. Currently there is a requirement of having OpenSSL 1.1.1 to install TimescaleDB with PostgreSQL 15.0.1 and later on Windows. It has been documented |
This is still a problem today.. |
Hi @jvanlangen, Thanks for bringing this up. Could you elaborate on which kind of problem you face? Did the installation of OpenSSL not help to load the extension? |
I also had this issue with 2.14.2. According to the Prerequisites: So, I tried with OpenSSL-3 installed but still got the error message: Troubleshooting with Dependency Walker revealed that the library needed OpenSSL-1 dll files, not OpenSSL-3. After I got that in place, it worked. |
Temporary workaround based on Sanprof's comment here: https://stackoverflow.com/questions/76225090/the-specified-module-could-not-be-found-postgres-15-2-with-timescale-2-10-3 For Windows you can download the dlls you need here: https://wiki.overbyte.eu/wiki/index.php/ICS_Download Unzip this and you'll find libcrypto-1_1-x64.dll and lbssl-1_1-x64.dll without having to install anything. Copy them to the your postgres versions lib directory (e.g. C:\Program Files\PostgreSQL\16\lib) and the extension can be created. V16 of Postgres, V2.14.2 of timescaledb and Windows 11. |
This worked. Use the bin folder instead though. |
What type of bug is this?
Configuration
What subsystems and features are affected?
Configuration
What happened?
Seems to be that the dependencies libssl-1_1-x64.dll and libcrypto-1_1-x64.dll are missing after installation. We were able to fix it by adding
C:\Program Files\Git\mingw64\bin
as system variable. Dlls are not present in the lib Folder of the Postgresql installation, only similarly named ones i.e. libssl-3-x64.dll were present.TimescaleDB version affected
2.10.2
PostgreSQL version used
15.2
What operating system did you use?
Windows 10
What installation method did you use?
Other
What platform did you run on?
On prem/Self-hosted
Relevant log output and stack trace
No response
How can we reproduce the bug?
Clean Windows machine without anything else apart from an installation of PostgreSQL.
The text was updated successfully, but these errors were encountered: