pantry icon indicating copy to clipboard operation
pantry copied to clipboard

Cannot be used for older `glibc` libs

Open farzadmf opened this issue 2 years ago • 8 comments

Hi,

I tried setting tea up in Amazon Linux 2 (which I think is using an older version of GLIBC), and I'm getting the following errors:

/home/farzadmf/.tea/tea.xyz/v*/bin/tea: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /home/farzadmf/.tea/tea.xyz/v*/bin/tea)
/home/farzadmf/.tea/tea.xyz/v*/bin/tea: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /home/farzadmf/.tea/tea.xyz/v*/bin/tea)
/home/farzadmf/.tea/tea.xyz/v*/bin/tea: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /home/farzadmf/.tea/tea.xyz/v*/bin/tea)

farzadmf avatar May 15 '23 14:05 farzadmf

I've been hammering away at trying to get glibc built so we can inject it if needed, but it's slow going.

https://github.com/teaxyz/pantry/pull/147

jhheider avatar May 15 '23 14:05 jhheider

Thank you @jhheider for the quick reply.

While I have you here 🙂 , may I ask if tea is actually "production ready" or not.

I've been following tea for the past couple of months, and I'm heavily using Homebrew on my Mac and Linux. Is tea ready to replace my brew? (Of course, once the glibc issue is fixed 😆)

farzadmf avatar May 15 '23 15:05 farzadmf

The gui is currently in beta, and, while the CLI hasn't released v1 yet, it is used in all of our pipelines to build itself. However, as we haven't released v1, the public API is subject to change.

I would probably feel comfortable using tea in various production environments, but I'm sure there's plenty of people who would advocate waiting for v1.

jhheider avatar May 15 '23 15:05 jhheider

Great, thanks for letting me know. Hopefully, the glibc issue is fixed soon and I can take this for a ride

The GUI also is/will be cross-platform?

farzadmf avatar May 15 '23 15:05 farzadmf

Yup, the plan is for tea to be everywhere.

jhheider avatar May 15 '23 16:05 jhheider

I'd say tea/cli is pretty mature; as jacob says we use it all over the place. But it cannot compete with brew’s maturity, brew is 14 years old.

tea can do things brew cannot, so I would use it there. You may have issues, but we are finding less and less of those each day. So go into it knowing that. Thanks for being part of this!

mxcl avatar May 15 '23 23:05 mxcl

@jhheider amazon linux 2 requiring glibc 27 while we go back to 28 is possibly reason enough for us to try and build against 27.

mxcl avatar May 15 '23 23:05 mxcl

We could try and base off an aml minimal image. Worth testing.

jhheider avatar May 16 '23 01:05 jhheider