Azure Data Studio

Hi,

trying to install azure data studio rpm but it fails.

libm.so.6(GLIBC_2.29)(64bit) is needed by azuredatastudio-1.47.1-1704847218.el7.x86_64

So far i have installed all these but keeps asking for the dependency.

glibc-2.28-236.el8_9.12.x86_64
glibc-utils-2.28-236.el8_9.12.x86_64
glibc-common-2.28-236.el8_9.12.x86_64
glibc-devel-2.28-236.el8_9.12.x86_64
glibc-langpack-es-2.28-236.el8_9.12.x86_64
glibc-headers-2.28-236.el8_9.12.x86_64
glibc-gconv-extra-2.28-236.el8_9.12.x86_64
glibc-all-langpacks-2.28-236.el8_9.12.x86_64
glibc-langpack-en-2.28-236.el8_9.12.x86_64

Any idea on what i’am missing?

Edit:

dnf install ./azuredatastudio-linux-1.47.1.rpm

Error: 
 Problem: conflicting requests
  - nothing provides libm.so.6(GLIBC_2.29)(64bit) needed by azuredatastudio-1.47.1-1704847218.el7.x86_64

Thanks.

You might need the 32 bit one:

glibc-2.28-236.el8_9.12.i686 : The GNU libc libraries
Repo        : UpWare_Rocky_Linux_Rocky_Linux_8_BaseOS
Matched from:
Filename    : /lib/libm.so.6
dnf install glibc.i686

the other alternative would be trying to symlink the /lib64/libm.so.6 to /lib if the package from MS is true 64 bit.

Are you using the rpm command to try to install it or dnf? Since you can install downloaded rpms like this:

dnf install ./azure-data-studio.rpm

substitute the rpm name for the correct one, the above is just an example. Using dnf will automatically resolve dependencies, that rpm doesn’t.

I’d say “no”, because there is (64bit).
The issue seems to be the (GLIBC_2.29).

On EL9 the glibc-2.34*.x86_64 provides the libm.so.6(GLIBC_2.29)(64bit). In fact:

# strings /usr/lib64/libm.so.6 | grep GLIBC
GLIBC_2.2.5
GLIBC_2.4
GLIBC_2.15
GLIBC_2.18
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_2.26
GLIBC_2.27
GLIBC_2.28
GLIBC_2.29
GLIBC_2.31
GLIBC_2.32

The EL8’s glibc has only:

# strings /usr/lib64/libm.so.6 | grep GLIBC
GLIBC_2.2.5
GLIBC_2.4
GLIBC_2.15
GLIBC_2.18
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_2.26
GLIBC_2.27
GLIBC_2.28

More bafflingly, the package has el7 in its name and we do know that glibc in EL7 is merely version 2.17.

That azuredatastudio cannot have been built in vanilla el7 (or el8). It seems to require el9.

This is Microsoft :slight_smile: they do the same with VS Code - this also has el7 in the name. It’s almost like they treat it as EL7 and higher.

EDIT: actually they started making el8 ones now as well at least for VS Code. No el9 as of yet though.

1 Like

:person_facepalming: Say no more.

1 Like