I am expected to install /opt/mssql/bin/sqlservr: /lib64/libc.so.6: version `GLIBC_2.27' but in my server I have GLIBC_2.17

Avinash H 0 Reputation points
2023-02-02T14:28:26.09+00:00

I am not able to run mssql due this error "/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.s"

Please help me solve this issue .

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,341 questions
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 37,851 Reputation points Microsoft Employee
    2023-02-02T17:47:47.44+00:00

    Based on the error your receiving I believe you are trying to run SQL Server on a RHEL 7 VM. Please correct me if I am misunderstanding the issue.

    The instructions on the documentation page are written for RHEL8. Based on the error I believe you have added the incorrect yum repo. Remove the installed mssql-server and then try again using the RHEL 7 repo.

    yum remove mssql-server curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server-2019.repo yum clean all

    Hope this helps! Let me know if you are still having issues or have any questions.


    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    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.