-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
dbt crashes: library libcrypto could not be found #3366
Comments
Hey @GuillaumeDesforges, I found a StackOverflow post from four months ago that looks relevant: https://stackoverflow.com/questions/65691479/the-library-libcrypto-could-not-be-found The person posting there was trying to install
In effect, this likely isn't an issue with dbt per se, as much as an issue installing and importing One way to test this hypothesis: you could try running import snowflake.connector
handle = snowflake.connector.connect(
account="...",
user="...",
database="...",
schema="...",
warehouse="...",
role="...",
autocommit=False,
client_session_keep_alive=False,
password="..." # or authenticator="..."
)
result = handle.cursor().execute("select 1 as id")
result.fetchall() I'm going to close this issue, since I don't think there are any code changes we can make in dbt to address this installation issue. We've already bumped the |
Thanks @jtcohen6 , indeed the code snippet above raises the error. |
To whomever might encounter this issue. Turns out my system did not have On NixOs, installing |
@GuillaumeDesforges Glad you were able to get to the bottom of it! |
The solution is to patch the calling code to hardcode the path to the library that needs to be loaded. |
hello - i;m getting |
same here |
Hi! I've got the same error: oscrypto.errors.LibraryNotFoundError: Error detecting the version of libcrypto. |
Apparently when i switched from conda to the python venv, this issue was gone. Try it out. I don't know the resolution. |
I was getting 'error: oscrypto.errors.LibraryNotFoundError: Error detecting the version of libcrypto' This was my issue: wbond/oscrypto#78 |
Describe the bug
dbt command fails with
The library libcrypto could not be found
:Steps To Reproduce
Expected behavior
dbt should not crash
System information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
NixOS
The output of
python --version
:Additional context
Note that I have in my environment:
which did the trick for the same kind of issue when I tried to use singer snowflake target.
The text was updated successfully, but these errors were encountered: