1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 08:32:42 +00:00

Fix installation of pdo_dblib on debian/PHP8.0

This commit is contained in:
Michele Locati 2020-12-09 09:41:56 +01:00
parent 9287cce478
commit 97655cee86
No known key found for this signature in database
GPG key ID: 98B7CE2E7234E28B
2 changed files with 4 additions and 6 deletions

View file

@ -1029,11 +1029,9 @@ installBundledModule() {
esac
;;
mssql | pdo_dblib)
if test $PHP_MAJMIN_VERSION -le 704; then
if ! test -f /usr/lib/libsybdb.so; then
ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so /usr/lib/libsybdb.so
UNNEEDED_PACKAGE_LINKS="$UNNEEDED_PACKAGE_LINKS /usr/lib/libsybdb.so"
fi
if ! test -f /usr/lib/libsybdb.so; then
ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so /usr/lib/libsybdb.so
UNNEEDED_PACKAGE_LINKS="$UNNEEDED_PACKAGE_LINKS /usr/lib/libsybdb.so"
fi
;;
odbc)