-
Notifications
You must be signed in to change notification settings - Fork 374
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
Can't open lib '/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.3.so.1.1' : file not found #1002
Comments
HI @matfiz, how did you install ODBC and/or mssql tools? Did you follow the instructions on the documentation? Maybe you can try to uninstall them first? Can you reproduce the same problem in a clean Ubuntu 16.04? |
Thank's for an answer, @yitam. I have uninstalled all MS-ODBC related packages and installed them again and it actually helped. I'm closing the issue. |
I have the same issue, but I use docker container and everything is installed from scratch. The issue started when I rebuilt docker container, looks like php:7.2-fpm changed from debian stretch to buster, maybe that's the issue. |
Thanks @vedmant for the info. You might need to move back to debian stretch or wait for the next release of ODBC driver. Please stay tuned. |
Verified that this is due to php:php-fpm moving to 'buster'. In the meantime you can for example use php:7.3-fpm-stretch and it should work as before. |
FYI, ODBC driver 17.4 is released with instructions updated |
PHP Driver version or file name
Microsoft ODBC Driver 17 for SQL Server, sqlsrv-5.6.1
Client operating system
Ubuntu 16.04
PHP version
7.3
Problem description
I've installed drivers using PECL (
pecl install pdo_sqlsrv sqlsrv
), while trying to:The same error when I try to access the server through PHP. The file exists and is accessible by all:
All library dependencies are met:
The text was updated successfully, but these errors were encountered: