-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
odbcinst: SQLInstallDriverEx failed with Invalid install path. #1
Comments
I am having similar issues as well. I am following the direction from: |
@mateusz-kmiecik can you take a look? |
I'm experiencing the same issue on OSX 10.12.4 |
Also experiencing the same issue on OSX 10.12.6 |
The same issue on OSX 10.12.5 |
same here. OSX 10.12.6 $ brew install mssql-tools
==> Installing mssql-tools from microsoft/mssql-release
==> Installing dependencies for microsoft/mssql-release/mssql-tools: msodbcsql
==> Installing microsoft/mssql-release/mssql-tools dependency: msodbcsql
==> Using the sandbox
==> Downloading http://download.microsoft.com/download/4/9/5/495639C0-79E4-45A7-B65A-B264071C3D9A/msodbcsql-13.1.9.0.tar.gz
Already downloaded: /Users/foo/Library/Caches/Homebrew/msodbcsql-13.1.9.0.tar.gz
The license terms for this product can be downloaded from
https://aka.ms/odbc131eula and found in
/usr/local/share/doc/msodbcsql/LICENSE.txt . By entering 'YES',
you indicate that you accept the license terms.
Do you accept the license terms? (Enter YES or NO)
YES
==> odbcinst -u -d -n "ODBC Driver 13 for SQL Server"
==> odbcinst -i -d -f ./odbcinst.ini
Last 15 lines from /Users/foo/Library/Logs/Homebrew/msodbcsql/02.odbcinst.ini:
2017-08-01 12:01:10 -0700
odbcinst -i -d -f ./odbcinst.ini
odbcinst: SQLInstallDriverEx failed with Invalid install path.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/microsoft/homebrew-mssql-release/issues
|
@ALL we are actively looking into this. I will have an update ASAP |
Same issue on OSX 10.12.6
@meet-bhagdev keep us updated please |
@ALL, is this a recent issue or have you always run into this? |
@meet-bhagdev I don't know, for me, it is, cause I just started working with this driver since yesterday. I didn't find any info about the error, that's why I was about to start the issue, but now I know I'm not the only one. |
@ALL, Edit: SEE THIS COMMENT FOR CORRECT INSTRUCTIONS: #1 (comment) also available at The official Documentation The original comment text below is preserved for historical purposes only.This issue appears to be caused by some changes in homebrew; while we investigate, there is a workaround you may use to install the driver, using this command:
After it completes, run
save and close the file, and you should then be able to use the driver. |
@v-chojas Many thanks for the workaround, that works for me. |
@v-chojas Thanks for that! Worked for me too. |
This worked for me: brew install --without-registration microsoft/msodbcsql/msodbcsql |
I have determined that the install failure is due to another "security feature" recently introduced into Homebrew --- as of 1.3.0 --- which runs all installers in a restricted sandbox environment: Homebrew/brew#2898 However, you can still disable that with an option, and it will register the driver in
|
@v-chojas That worked for me, thanks. |
I had the same issue and @v-chojas ' first solution looks well for me |
Going completely nuts here... I'm always getting this error message: SQLSTATE[01000]: [unixODBC][Driver Manager]Can't open lib '/usr/local/lib/libodbcinst.2.dylib' : file not found The file exists and @v-chojas driver info is present. Any idea of what may be causing this error? |
In the message should be "/usr/local/lib/libmsodbcsql.13.dylib" |
@cjorge we are looking into this! |
Just FYI, I installed the 7.1 on another computer without any problem... I'm thinking about trying to upgrade my 7.0 to 7.1 and give it another try. The only difference I see is that my user (on the mac with the problem) has root access... |
I have tried on a clean macOS Sierra machine and the installation instructions at https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server work to install the driver, and I could verify its basic functionality (i.e. could connect to SQL Server) using |
I have determined that the install failure is due to another "security feature" recently introduced into Homebrew --- as of 1.3.0 --- which runs all installers in a restricted sandbox environment: Homebrew/brew#2898 However, you can still disable that with an option, and it will register the driver in odbcinst.ini correctly without having to perform the manual workaround above: microsoft/homebrew-mssql-release#1 (comment)
Related: /issues/3 |
This appears to have been fixed. Closing. Feel free to reopen if the issue persists. |
I'm experiencing this problem again:
I've tried the |
Have you tried to install |
See #40 Solutions been done here! |
Thanks v-chojas, it worked for me. I followed your stepes for msodbcsql17 brew install --without-registration msodbcsql17 [ODBC Driver 17 for SQL Server] Many thanks. |
When trying to install the PHP SQLSRV drivers on OS X Sierra, I get the error
odbcinst: SQLInstallDriverEx failed with Invalid install path.
I'm following the steps here: https://github.com/Microsoft/msphpsql/tree/master#install-unix
All the steps work until I get to these:
This is the output of homebrew:
Are there any steps to take besides what is listed on the webpage I linked?
The text was updated successfully, but these errors were encountered: