Using ODBC error on 1.0

This was working in Julia 0.6, but doesn’t seem to work anymore. Can someone help me figure out if there is something I’m doing wrong?

julia> using ODBC
[ Info: Precompiling ODBC [be6f12e9-ca4f-5eb2-a339-a4f995cc0291]
ERROR: LoadError: LoadError: LoadError: UndefVarError: Libdl not defined

ODBC.jl hasn’t been updated to be compatible with 1.0 yet (since 1.0 was released literally 36 hours ago). If you need to use ODBC.jl, it’s advisable to use 0.6 or perhaps 0.7 at the moment. It should be updated soon and you can watch the repository here for when the next release happens.

Thanks for the info. I wasn’t sure, since I was able to add the ODBC package successfully in 1.0. OK, I’ll wait a bit longer.

I’m still seeing this old bug in ODBC re-occur on 0.7 which appears to be fixed. (https://github.com/JuliaDatabases/ODBC.jl/issues/178)

I have the workaround which is to modify the DataStreams package for this line:

!ismissing(rows) && rows < 0 && throw("Invalid # of rows for Data.Schema

But any idea why this is still erroring out in 0.7?

ODBC.jl has now been tagged w/ a 1.0-compatible release. Please report any issues you see here.

1 Like

Thanks, working well now.