When I check ODBC.API.odbc_dm
, I get
julia> using ODBC
julia> ODBC.API.odbc_dm
""
So it doesn’t seem to be finding anything. When I look in /usr/lib
, I get
> cd /usr/lib
> ls *odbc*
libodbccr.so libodbcinst.so libodbc.so psqlodbcw.so
libodbccr.so.2 libodbcinst.so.2 libodbc.so.2
libodbccr.so.2.0.0 libodbcinst.so.2.0.0 libodbc.so.2.0.0
tdbcodbc1.0.4:
libtdbcodbc1.0.4.so pkgIndex.tcl tdbcodbc.tcl
So the library is present. After using ODBC
, I tried to set the library manually, using libodbc
, libodbc.so
and /usr/lib/libodbc.so
. I get a warning about redefining constant odbc_dm
that I’m not worried about, but if I try ODBC.listdrivers()
or ODBC.listdsns()
, I get
ERROR: UndefVarError: ENV not defined
in listdrivers() at ~/.julia/v0.5/ODBC/src/ODBC.jl:72
in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:64
in macro expansion at ./REPL.jl:95 [inlined]
in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
Do you have any other suggestions? Thanks again.