Install Sql Server 2019/2022 in Amazon Linux 2023 server.

George, Jijo 20 Reputation points
2024-11-30T15:50:24.5266667+00:00

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?

User's image

User's image

User's image

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,154 questions
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 68,311 Reputation points
    2024-11-30T16:57:53.98+00:00

    Sqlserver 2019 use python 3.7. Your error appears to be that ldap is not installed. Install the libldap package.


1 additional answer

Sort by: Most helpful
  1. George, Jijo 20 Reputation points
    2024-12-05T10:08:36.08+00:00

    Additionally, I have the following.

    1. copied the following files form an ubunto server and pasted in /opt/mssql/lib/
      1. libssl.so.1.1 => renamed to libssl.so
      2. libcrypto.so.1.1 => renamed to libcrypto.so
    2. copied the contents from 'libldap-common' folder(form an ubunto server ) to /opt/mssql/lib/libldap_r-2.4.so.2
    3. Then, executed sudo dnf install openldap-compat
    4. Then installed mssql and configured properly
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.