-
Notifications
You must be signed in to change notification settings - Fork 900
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
Trouble finding extension on Windows #1613
Comments
Hi, I'm running into the same issue with exact same setup, postgres 11.6.3 and timescaledb 1.5.1 on Windows 10 x64. Instllation was done as described on https://docs.timescale.com/latest/getting-started/installation/windows/installation-windows Reproduce
Expected behavior Actual behavior Additional context |
@kvroegop Thank you for the detailed report. |
@k-rus
Event though I knew this would have no influence I also started pgAdmin and Powershell with administrative privileges to exclude any possible issues with rights. |
Thanks for checking if it is a permission error. |
Alright, I've done some dependency checkingg with Dependencies (https://github.com/lucasg/Dependencies) only to get to the following result. Edit: To give a bit of context to the image, both libeay32 and ssleay32 can be found, going down the error stack 'api-ms-win-core-wow64-l1-1-0.dll' is the one not found, that triggered me to re-check the vc redist installations. |
Working for me Edit: Seeing that this issue keeps popping up for Windows based systems, is it possible to add both dll files during installation? |
Great that you fixed your issue!
I will keep this issue around to check if it can be done anything around these files. |
I got the error FEL: kunde inte ladda länkbibliotek "E:/Program Files/PostgreSQL/11/lib/timescaledb-1.6.0.dll": The specified module could not be found. Installed Visual C++ Redistributable, did not help. The ssleay32.dll and libeay32.dll were missing. It seems that you should provide them. Why should user go and find them from other package like postgis package if they are dependencies for timescaleDB? After adding those and restarting the service, everything loaded correctly. Not issue with redistributable, not issue with permissions it seems, but dependencies that are provided by 3rd party usually. Maybe in the documentation at least it should then provide the link to download them and point out that they are needed as well for windows installation. Currently the information is only in issues like this one. |
i have got the same problem , when i run CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE; query , i get ERROR: could not load library "C:/Program Files/PostgreSQL/11/lib/timescaledb-1.6.0.dll": The specified module could not be found. SQL state: XX000 and this particular dll is there in that location in error message |
Try getting 'ssleay32' and 'libeay32' dll files into your postgres bin direcory. You can do this by installing PostGIS and copying those files over from ...\postgresql-11.6.3\bin\postgisgui to the ...\postgresql-11.6.3\bin directory of the postgres version you need them in. |
Thank you for sharing your experience @kvroegop. I tried Stack Builder to install PostGIS and both versions offered are for 64bit. I installed the latest one anyway without errors. I then found the postgisgui subfolder but not the libraries, not 32 nor 64 bit version. If you have any help it'd be appreciated. Maybe there is some good reading you can point me to. I am just starting with both Postgres and Timescale so... yeah, chances are I am screwing up somewhere. Thank you. |
Finally got the 'ssleay32' and 'libeay32' dll files and fixed the problem following @kvroegop 's suggested steps. Those 2 dlls are actually part of OpenSSL. I got them from indy.fulgan.com. Installing Open SSL didn't work for me. The files didn't come with the install... |
Working for me Solo una aclaración. Los archivos 'ssleay32' y 'libeay32 se encuentran en la versión 2.5 del PostGIS. Inicialmente instale la version 3.0 pero en esa version no existem los dlls. |
As already mentioned above - copy the DLL's to the *bin* folder rather than to the *lib* one! |
i have got the same problem , when i run already moved 'ssleay32 and libeay32 to the bin Folder and still not working tried it wit PostgreSQL 11.7 , 11.4 What in the world is going on there ?! |
I'm running into the same issue with 1.6.1 on Windows 10. However, the missing dependencies listed by Dependencies are libssl-1_1-x64.dll and libcrypto-1_1-x64.dll. Edit: my bad! Turned out I had postgres 11.1. After upgrading to 11.7, everything worked! |
I don't experience this issue with latest PosgreSQL version (12.2 and 11.7) and latest TimescaleDB (1.7). I will close this issue. |
I have the same problem, I have PG11.9 and timescale 1.7.4, I added ssleay32 and libeay32 from PG11.4 to PG11.9's bin, but not able to enable extension, still having the same old error. If you have sorted that, please let me know. |
@iskhakovaks In the past, we've sometimes seen this due to permissions error. Were TimescaleDB and Postgres installed with administrator privileges? (Sorry, I haven't used Windows meaningfully in 15+ years, so much less familiar with its current permissions model.) |
@mfreed TimescaleDB was installed with administrator privileges. Not sure about Postgres. But I ran Postgres with administrator privileges. The same problem |
Same issue here with pgSQL 12. Everything installed with admin privileges and the extension seems to exist at |
I'm having the exact same issue as described by @komodovaran on Windows 10 & have followed all listed "solution"-proceedures and the Extension is still unable to find the dll. |
@komodovaran @Bialomazur I have followed the steps of this guide to install timescaledb next to postgreSQL 12, which I installed using the EDB interactive installer. It was a clean install and I have failed to reproduce the issue. Can you provide me detailed information on what steps you followed and how you installed timescaledb? |
@yebidaxiong @komodovaran and @Bialomazur closing the issue, feel free to reopen it if you encounter it on TimescaleDB 2.4.2 with PG12 or 13. |
Hi, I've read through the thread several times, trying all solutions - still no luck. I've re-installed postgres from scratch as administrator, following
as suggested by @mfundul. I'm using timescaledb 2.5.1, Windows 10, Postgresql 13.5. Running into the same error:
|
That URL doesn't work anymore, the documentation has moved since May. The new URL should be this. It's strange that you are using You could try being explicit with enabling the extension in your database:
|
I observed this issue on Windows 10, PostgreSQL 15.2 installed from EDB, TimescaleDB 2.10.0.
Using the "Application Stack Builder" that was installed alongside PostgreSQL, installed PostGIS and restarted the service. This fixed the problem. |
I am seeing the same issue with PostgreSQL 15.2 on Windows 10 also installed from the EDB installer and timescale 2.10.0. EDIT: I can confirm installing PostGIS fixes the issue. |
@tlf30 thanks for sharing. installing PostGIS works for me too. here is the more detailed steps: https://postgis.net/workshops/postgis-intro/installation.html |
Last week I was able to install Timescale on Windows installing PostGIS. This week, on a different Windwos server, installing PostGIS did not resolve the error. I check differences between both computers and PostGIS has been updated from 3.3.2 to 3.3.3. Installing PostGIS 3.3.2 ( setup.exe downloaded from https://download.osgeo.org/postgis/windows/pg15/archive/ solved the issue. I do not know differences between PostGIS versions, but until the bug is solved, install PostGIS 3.3.2 if you want to use TimescaleDB on windows |
I confirm, if you faced this problem, installed PostGIS and problem stayed, check the version. With |
Same thing fixed it for me with PG 16.2 and TimeScaleDB 2.14 |
@NunoFilipeSantos this issue should really be reopened. A fix needs to be implemented. |
I hit the same issue installing Timescaledb 2.14.2 with Postgres 16.2 on Windows 10 (handy workstation for testing). All the noted dependencies in the documentation where installed (OpenSSL 3.2.1 and VC redistributables) I can resolve the problem by installing Postgis 3.3.2. Installing Postgis 3.4 does not fix the issue. There is clearly a missing dependency. I haven't had time to dig into the difference between the two GIS versions nor look at the Timescaledb dependencies. |
Reopening. This seems to mainly be a documentation issue. |
Hi ! I faced the same issue with PG 16.2 + TimescalDB 2.14.2 , now it's solved after having installed postgis-bundle-pg15x64-setup-3.3.2-2.exe on my windows laptop. Just be careful during the install process to select the right PG folder (16 instead of 15). |
Hi, faced same issue with PG 16.2, installing postgis 3.3.2 fixes the issue can confirm |
Hi, faced the same issue with PostgreSQL 16.2 + TimescalDB 2.14.2, installing PostGIS 3.3.2 (postgis-bundle-pg15x64-setup-3.3.2-2.exe) from https://download.osgeo.org/postgis/windows/pg15/archive/ solved the issue... No need to add .dll files to the |
Thank you, It solves my problem, but why?😂 |
@mkindahl I do not think this is a documentation issue. It seems to me that there is a dependency problem in timescaledb when installing on Windows. Without diving into detail, I think PostGIS is just installing the dependency that is needed. |
just like @tlf30 said, it solves the dependency issue 😄 |
Bug report on Windows 10 x64
Postgre 11.6
timescaledb 1.5.1
Relevant system information:
postgres --version
): [e.g. 10.5, 9.6.10]\dx
inpsql
): [e.g. 1.0.0]Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
A clear and concise description of what actually happened.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: