Hi i am trying to run sqlcmd in linux by this
sqlcmd -S localhost -U SA -P '123'
and i get this error
sqlcmd: error while loading shared libraries: libodbc.so.2: cannot open shared object file: No such file or directory
how can i solve this problem - Linux ( Ubuntu 20.04)
I tryed to install unixodbc-dev like this sudo apt-get install -y unixodbc-dev and i get this error E: Malformed entry 1 in list file /etc/apt/sources.list.d/mssql-release.list (Component) E: The list of sources could not be read.