[MacPorts] #60560: mssql-tools seems to be missing OpenSSL

MacPorts noreply at macports.org
Tue May 26 19:02:00 UTC 2020


#60560: mssql-tools seems to be missing OpenSSL
----------------------+----------------------------
 Reporter:  ShaharHD  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:  MacPorts 2.6.3
Component:  ports     |    Version:  2.6.2
 Keywords:            |       Port:  mssql-tools
----------------------+----------------------------
 Hi,

 to reproduce the issue simply run MSSQL 2019 as a docker instance

 {{{
 docker run --rm -it -p 1433:1433 --name mssql-server -e 'ACCEPT_EULA=Y' -e
 'MSSQL_SA_PASSWORD=SecurePassword!'
 mcr.microsoft.com/mssql/server:2019-latest
 }}}

 and after installing mssql-tools

 {{{
 sudo port install mssql-tools openssl
 }}}

 running the following

 {{{
 sqlcmd -S localhost -U sa -P SecurePassword! -Q "SELECT @@VERSION"
 }}}

 The following result is received

 {{{
 Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : SSL Provider:
 [OpenSSL library could not be loaded, make sure OpenSSL 1.0 or 1.1 is
 installed].
 Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Client unable to
 establish connection.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60560>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list