question

MjTaseen-2381 avatar image
0 Votes"
MjTaseen-2381 asked AchimStadter-9556 published

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

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

Microsoft docs 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://docs.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-generalsql-server-migration
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MjTaseen-2381
As we are mainly responsible for general issue of Teams for Linux, your question which is involved in Linux system and MSSQL is not included in Teams. I would remove the office-teams-linux-itpro tag. Hope you get better response.

0 Votes 0 ·
Cathyji-msft avatar image
0 Votes"
Cathyji-msft answered Cathyji-msft commented

Hi @MjTaseen-2381,

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


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MjTaseen-2381,

Did the reply could help you? If the response helped, do "Accept Answer".

Best regards,
Cathy

0 Votes 0 ·
MjTaseen-2381 avatar image
0 Votes"
MjTaseen-2381 answered

Hello Cathy,

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

Regards,
Md. Taseen

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AchimStadter-9556 avatar image
0 Votes"
AchimStadter-9556 answered AchimStadter-9556 published

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.