Not able to install MSSQL 2019 DATABASE on linux 7.8 (`GLIBC_2.27' not found )

Mj Taseen 1 Reputation point
2020-11-05T11:52:14.263+00:00

Discussion
Sign in to vote
0
Sign in to vote
Hello Team,

Microsoft Learn says MSSQL 2019 can be installed on RHEL 7.3 - 7.8, or 8.0 - 8.2 machine with at least 2 GB of memory.

https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-red-hat?view=sql-server-ver15

Now after having and EC2 instance ready with RHEL 7.8 while trying to install mssql server I am getting below error. After researching a lot I couldn't find any suitable solution. One solution says we can't upgrade this GLIBC so better to install on RHEL 8 and even we can inserver upgrade from RHEL 7.8 to 8+.

Can you please let us know how to deal with this issue. If solution is to go with version 8 can you please update the docs.

/opt/mssql/bin/sqlservr: /lib64/libc.so.6: version GLIBC_2.27' not found (required by /opt/mssql/bin/sqlservr) /opt/mssql/bin/sqlservr: /lib64/libc.so.6: version GLIBC_2.18' not found (required by /opt/mssql/bin/../lib/libc++abi.so.1)

Awaiting for quick response. Thank You!!

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,142 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
541 questions
{count} votes

3 answers

Sort by: Most helpful
  1. CathyJi-MSFT 22,321 Reputation points Microsoft Vendor
    2020-11-06T08:07:25.257+00:00

    Hi @Mj Taseen ,

    In MS official document , the example commands for SQL Server 2019 points to the RHEL 8 repository. Please make sure you change the path to /rhel/7 instead of /rhel/8 in the example commands.

    Such as:
    sudo curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/**rhel/7**/mssql-server-2019.repo

    Please refer to the note part in MS document Install SQL Server on Red Hat.

    Best regards,
    Cathy


    If the response is helpful, please click "Accept Answer" and upvote it.
    Hot issues October--Users always get connection timeout problem when using multi subnet AG via listener. Especially after failover to another subnet


  2. Mj Taseen 1 Reputation point
    2020-11-11T18:33:46.563+00:00

    Hello Cathy,

    Yes, I had changed path is correct only i.e. /rhel/7. No issues with the path

    Regards,
    Md. Taseen

    0 comments No comments

  3. Achim Stadter 1 Reputation point
    2021-10-01T11:01:05.95+00:00

    Thanks very much! This also helped installing the SQL server on my CentOS 8 with rhel/7 rather then rhel/8

    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.