-
Notifications
You must be signed in to change notification settings - Fork 63
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
Bullseye can't find the MS SQL Server drivers #358
Comments
Very similar to #325 |
Also, the test fails: (@v1.8) pkg> test ODBC
[...]
Testing Running tests...
[ Info: Enabled tracing of odbc library calls to /root/.julia/packages/ODBC/9VZTC/test/odbc.log
ODBC.drivers() = Dict{String, String}()
ODBC.dsns() = Dict{String, String}()
[ Info: Disabled tracing of odbc library calls
libpath = "/home/runner/mariadb64/mariadb-connector-odbc-3.1.11-ubuntu-focal-amd64/lib64/mariadb/libmaodbc.so"
isfile(libpath) = false
ERROR: LoadError: Unable to find component name
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] adddriver(name::String, path::String; kw::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ ODBC.API ~/.julia/packages/ODBC/9VZTC/src/API.jl:559
[3] adddriver
@ ~/.julia/packages/ODBC/9VZTC/src/API.jl:594 [inlined]
[4] #adddriver#51
@ ~/.julia/packages/ODBC/9VZTC/src/ODBC.jl:154 [inlined]
[5] adddriver(name::String, libpath::String)
@ ODBC ~/.julia/packages/ODBC/9VZTC/src/ODBC.jl:154
[6] top-level scope
@ ~/.julia/packages/ODBC/9VZTC/test/runtests.jl:30
[7] include(fname::String)
@ Base.MainInclude ./client.jl:476
[8] top-level scope
@ none:6
in expression starting at /root/.julia/packages/ODBC/9VZTC/test/runtests.jl:30
ERROR: Package ODBC errored during testing |
ODBC doesn't use the system odbc setup by default, but manages it's own list of installed drivers; see the docs here for more information and the need to explicitly add drivers within the Julia session. |
I am running into this too.¨ but julia yields
|
Works for me:
Tested using bullseye in devcontainer :
Using the dev container feature to install the library
|
I want to use Julia ODBC with Sql server. I wrote the following Dockerfile (instructions from https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver16#debian18):
The driver is installed:
Then, Julia can't find any driver:
I have also test with linux/amd64 platform (I'm on armv8), with the same result.
Also try to install Snowflake ODBC driver from the official instructions, with the same result in Julia.
These drivers work well directly on PHP ODBC, but can't be configured with Julia.
The text was updated successfully, but these errors were encountered: