Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to run on Ubuntu 18.04 #485

Closed
glacials opened this issue Jan 24, 2022 · 5 comments
Closed

Fails to run on Ubuntu 18.04 #485

glacials opened this issue Jan 24, 2022 · 5 comments

Comments

@glacials
Copy link

I'm trying to run Atlas on Ubuntu 18.04 and I'm getting this error after following the Linux setup instructions:

$ curl -LO https://release.ariga.io/atlas/atlas-linux-amd64-v0.3.1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 55.0M  100 55.0M    0     0  51.4M      0  0:00:01  0:00:01 --:--:-- 51.4M
$ sudo install -o root -g root -m 0755 ./atlas-linux-amd64-v0.3.1 /usr/local/bin/atlas
$ atlas
atlas: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by atlas)
$ which -a atlas
/usr/local/bin/atlas
$ 

System version info:

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.6 LTS
Release:	18.04
Codename:	bionic

My glibc:

$ apt-cache policy libc6
libc6:
  Installed: 2.27-3ubuntu1.4
  Candidate: 2.27-3ubuntu1.4
  Version table:
 *** 2.27-3ubuntu1.4 500
        500 http://us-west-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.27-3ubuntu1.2 500
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
     2.27-3ubuntu1 500
        500 http://us-west-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
@yonidavidson
Copy link
Contributor

Hi @glacials , this is related to the version of ubuntu you are using (18.04).
Are you planning on upgrading to version 20.04? if not, is there a possibility to run in a docker container?

@glacials
Copy link
Author

Either of those would work fine for me but I'm evaluating Atlas for my org, which by default runs on 18.04. I'm trying to fix that in parallel, but it will be slower going 😅 Docker is a possibility but probably not worth it for us atm.

Don't bend over backwards to fix this, I just figured I'd report the bug!

@rotemtam
Copy link
Member

hey @glacials !
Thanks a lot for reporting this. I'm really interested in hearing your thoughts on how Atlas would fit in your organization and what you would need to make that happen.

Is there some way I can reach out to you to hear your thoughts?

@rotemtam
Copy link
Member

If it works for you, join us on our Discord server:

https://discord.com/invite/QhsmBAWzrC

🙏

@masseelch
Copy link
Member

masseelch commented Aug 24, 2022

Same issue here #870. Please see the workaround there:

As a workaround, please use our docker image instead of the distributed binary. You can alias the command like this alias atlas="docker run --rm arigaio/atlas:latest" and then simply use the docker like you would use the atlas binary atlas schema inspect -u sqlite://file.db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants