microsoft / azuredatastudio-postgresql

azuredatastudio-postgresql is an extension for Azure Data Studio that enables you to work with PostgreSQL databases
Other
193 stars 36 forks source link

Error in Ubuntu 20.04 version `GLIBC_2.35' not found #485

Open felrobotics opened 8 months ago

felrobotics commented 8 months ago

The extension won't run on Ubuntu 20.04 which comes with GLIBC_2.31 by default

Extension Version: v0.5.0 OS: Ubuntu 20.04

This is the message in the output after vscode startup:

1806280] Error loading Python lib '/tmp/_MEIYCzXYv/libpython3.10.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/_MEIYCzXYv/libpython3.10.so.1.0) [Error - 11:20:45 AM] Connection to server got closed. Server will not be restarted.

nasc17 commented 7 months ago

Hi @felrobotics we currently have an insiders release out now that you can test against to see if issue is present with our newer updates: https://github.com/microsoft/azuredatastudio-postgresql/releases/tag/v0.5.1-insiders

nasc17 commented 7 months ago

Please update to latest stable release of PostgreSQL extension v0.6.0 and Azure Data Studio v1.47.0. Reopen if this issue is still present, thank you.

donjuanmon commented 6 months ago

I'm also getting this error with Extension version v.0.6.0 and Ubuntu 20.04. glibc is at max version allowed by OS (2.31)

GennadNY commented 6 months ago

@felrobotics - if you remove extension and just start azure data studio do you get same error?

GennadNY commented 6 months ago

@donjuanmon - if you remove extension , does ADS open?

donjuanmon commented 6 months ago

@GennadNY - Yes, ADS opens regardless of the failing extension or not. We have a unique setup where all inbound/outbound traffic is blocked so I'm installing this manually. I include a script to install pgtoolsservice to the correct location. Regardless of version, all attempts to load this fail.

rknechtel commented 1 month ago

I"m getting the same error on xUbuntu 20.04 with ADS Version 1.48.0 and Extension Version 2.0.6. Guess ADS doesn't work so well with PostgreSQL, back to Pgadmin4.