[MacPorts] #67379: sqlcmd from mssql-tools trying to use file from Homebrew

MacPorts noreply at macports.org
Sat May 6 20:06:08 UTC 2023


#67379: sqlcmd from mssql-tools trying to use file from Homebrew
--------------------------+----------------------
  Reporter:  posguy99     |      Owner:  roederja
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.8.1
Resolution:               |   Keywords:
      Port:  mssql-tools  |
--------------------------+----------------------

Comment (by kencu):

 This port currently installs a prebuilt binary, apparently hardcoded to
 look for homebrew's driver.

 You can hack it to work by doing this:
 {{{
 cd /opt
 sudo mkdir homebrew
 cd homebrew
 sudo mkdir lib
 cd lib
 sudo ln -s /opt/local/lib/libmsodbcsql.17.dylib libmsodbcsql.17.dylib
 }}}

 and then it works.

 For a proper fix, we will have to update this port to use the new source
 version available at this URL (still in prerelease):
 https://github.com/microsoft/go-sqlcmd

-- 
Ticket URL: <https://trac.macports.org/ticket/67379#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list