Sqlserver 2019 use python 3.7. Your error appears to be that ldap is not installed. Install the libldap package.
Install Sql Server 2019/2022 in Amazon Linux 2023 server.
Hello,
I was trying to install mssql in Amazon Linux 2023 server, unfortunately while installing itself getting some exception. Seems like sql 2019 has a dependency with python2 and compat-openssl10 packages. But Amazon Linus 2023 images removed python2 version and upgraded to python 3.x.x version. Hence, I am not able to install sql server 2019 in this server. I have followed the steps mentioned in https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-red-hat?view=sql-server-ver15&tabs=rhel8&source=docs
Can you suggest steps to resolve this issue?
1 additional answer
Sort by: Most helpful
-
George, Jijo 20 Reputation points
2024-12-05T10:08:36.08+00:00 Additionally, I have the following.
- copied the following files form an ubunto server and pasted in /opt/mssql/lib/
- libssl.so.1.1 => renamed to libssl.so
- libcrypto.so.1.1 => renamed to libcrypto.so
- copied the contents from 'libldap-common' folder(form an ubunto server ) to /opt/mssql/lib/libldap_r-2.4.so.2
- Then, executed sudo dnf install openldap-compat
- Then installed mssql and configured properly
- copied the following files form an ubunto server and pasted in /opt/mssql/lib/