-
Notifications
You must be signed in to change notification settings - Fork 10
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
Loading OpenSSL causing error for ODBC driver #8
Comments
Sorry for the slow response here; after doing a bit of research, I think what's going on is:
There currently isn't a binary-built 3.X version of openssl, so this is a bit tricky. I'm guessing if you did: using ODBC
conn = ODBC.Connection(...)
using OpenSSL
conn = ODBC.Connection(...) then both connections would work? So then the question would be if we can force the system openssl to be loaded, something like: using ODBC, Libdl
Libdl.dlopen("libssl")
using OpenSSL
ODBC.Connection(...) |
Thanks so much for the suggestion! Forcing libssl to be loaded beforehand by using dlopen did the trick. Really appreciate you taking the time to look into it |
Does anyone know how to apply this trick but in an App with PackageCompiler.jl? I have been trying to solve it because the integration between Oxygen.jl and ODBC.jl fails because Oxigen.jl depends on HTTP.jl and HTTP.jl depends on OpenSSL.jl Any help or hint is welcome! |
Loading OpenSSL is creating an issue for the MS SQL Server ODBC driver. Any help or guidance would be appreciated. Example below is ran with UBI8 minimal container image. ODBC works fine without OpenSSL loaded, but errors when it is loaded. Using msodbcsql17-17.9.1.1, but had same issue with various other versions of the SQL Server ODBC driver.
The text was updated successfully, but these errors were encountered: