Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.project > #13266 > unrolled thread

Libc6 Usage Question

Started byAlexis E <alexis.public.email@gmail.com>
First post2023-04-26 03:10 +0200
Last post2023-04-26 19:40 +0200
Articles 7 — 5 participants

Back to article view | Back to linux.debian.project


Contents

  Libc6 Usage Question Alexis E <alexis.public.email@gmail.com> - 2023-04-26 03:10 +0200
    Re: Libc6 Usage Question <tomas@tuxteam.de> - 2023-04-26 10:40 +0200
    Re: Libc6 Usage Question Alexis E <alexis.public.email@gmail.com> - 2023-04-26 10:40 +0200
      Re: Libc6 Usage Question Andrey Rakhmatullin <wrar@wrar.name> - 2023-04-26 13:20 +0200
    Re: Libc6 Usage Question Steve Langasek <vorlon@debian.org> - 2023-04-26 10:40 +0200
    Re: Libc6 Usage Question Andrey Rakhmatullin <wrar@wrar.name> - 2023-04-26 10:40 +0200
    Re: Libc6 Usage Question Sam Morris <sam@robots.org.uk> - 2023-04-26 19:40 +0200

#13266 — Libc6 Usage Question

FromAlexis E <alexis.public.email@gmail.com>
Date2023-04-26 03:10 +0200
SubjectLibc6 Usage Question
Message-ID<GoBPr-4xoY-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Dear Debian Mailing List,
    I am working on a project which requires libc6. When I build this
project on my laptop, the project works fine as it builds for the libc6 on
my laptop, however, when I build it in Github actions, the project fails to
run, due to Debian not having a libc6 version as low as GLibC 2.32. I've
tried to compile my project to musl, statically, and even just embedding
the correct version of libc6 in the lib folder that I set my rpath to. I've
either had segfaults or failed builds. I would like to ask how I can either
support an older version of libc6 or upgrade any customers' systems to the
correct version. I'd also happily accept not requiring libc6 at all.

How may I achieve this?

Thank You,
Alexis

```bash
./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
(required by ./project)
./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found
(required by ./project)
./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
(required by ./project)
./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
(required by lib/libSDL2-2.0.so.0)
./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found
(required by lib/libSDL2-2.0.so.0)
./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
(required by lib/libSDL2-2.0.so.0)
./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
(required by lib/libfreetype.so.6)
```

[toc] | [next] | [standalone]


#13267

From<tomas@tuxteam.de>
Date2023-04-26 10:40 +0200
Message-ID<GoIQV-4CjB-9@gated-at.bofh.it>
In reply to#13266

[Multipart message — attachments visible in raw view] — view raw

On Tue, Apr 25, 2023 at 06:29:11PM -0400, Alexis E wrote:
> Dear Debian Mailing List,
>     I am working on a project which requires libc6. When I build this
> project on my laptop, the project works fine as it builds for the libc6 on
> my laptop, however, when I build it in Github actions, the project fails to
> run, due to Debian not having a libc6 version as low as GLibC 2.32 [...]

It's not clear whether you need a version lower than 2.32, higher than
that or exactly that one.

FWIW, Debian stable has 2.31, soon-to-be stable testing 2.36 [1], so perhaps
testing fills your bill.

All in all, I think you'd have to take this up with Github, not with
Debian.

Cheers

[1] https://packages.debian.org/search?keywords=libc6&searchon=names&suite=all&section=all
-- 
t

[toc] | [prev] | [next] | [standalone]


#13268

FromAlexis E <alexis.public.email@gmail.com>
Date2023-04-26 10:40 +0200
Message-ID<GoIQV-4CjB-7@gated-at.bofh.it>
In reply to#13266

[Multipart message — attachments visible in raw view] — view raw

I discovered there are more lists than just this one, so I'll be forwarding
the email to the appropriate list (which I believe to be
debian-glibc@lists.debian.org). I should mention, I'm so glad I only
supplied my first name as I did not know that y'all could even get the name
I supplied to Google, much less that it would be published. I would rather
not publish my name and only be referenced by email

On Tue, Apr 25, 2023 at 6:29 PM Alexis E <alexis.public.email@gmail.com>
wrote:

> Dear Debian Mailing List,
>     I am working on a project which requires libc6. When I build this
> project on my laptop, the project works fine as it builds for the libc6 on
> my laptop, however, when I build it in Github actions, the project fails to
> run, due to Debian not having a libc6 version as low as GLibC 2.32. I've
> tried to compile my project to musl, statically, and even just embedding
> the correct version of libc6 in the lib folder that I set my rpath to. I've
> either had segfaults or failed builds. I would like to ask how I can either
> support an older version of libc6 or upgrade any customers' systems to the
> correct version. I'd also happily accept not requiring libc6 at all.
>
> How may I achieve this?
>
> Thank You,
> Alexis
>
> ```bash
> ./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
> (required by ./project)
> ./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found
> (required by ./project)
> ./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
> (required by ./project)
> ./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
> (required by lib/libSDL2-2.0.so.0)
> ./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found
> (required by lib/libSDL2-2.0.so.0)
> ./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
> (required by lib/libSDL2-2.0.so.0)
> ./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
> (required by lib/libfreetype.so.6)
> ```
>

[toc] | [prev] | [next] | [standalone]


#13271

FromAndrey Rakhmatullin <wrar@wrar.name>
Date2023-04-26 13:20 +0200
Message-ID<GoLlL-4DZg-3@gated-at.bofh.it>
In reply to#13268
On Tue, Apr 25, 2023 at 10:24:35PM -0400, Alexis E wrote:
> I discovered there are more lists than just this one, so I'll be forwarding
> the email to the appropriate list (which I believe to be
> debian-glibc@lists.debian.org). 
Definitely not that one.

[toc] | [prev] | [next] | [standalone]


#13269

FromSteve Langasek <vorlon@debian.org>
Date2023-04-26 10:40 +0200
Message-ID<GoIQV-4CjB-5@gated-at.bofh.it>
In reply to#13266

[Multipart message — attachments visible in raw view] — view raw

Hi Alexis,

Note that the debian-project mailing list is for internal discussions of the
debian-project; debian-user is probably a better mailing list for questions
such as this.

On Tue, Apr 25, 2023 at 06:29:11PM -0400, Alexis E wrote:
> Dear Debian Mailing List,
>     I am working on a project which requires libc6. When I build this
> project on my laptop, the project works fine as it builds for the libc6 on
> my laptop, however, when I build it in Github actions, the project fails to
> run, due to Debian not having a libc6 version as low as GLibC 2.32. I've
> tried to compile my project to musl, statically, and even just embedding
> the correct version of libc6 in the lib folder that I set my rpath to. I've
> either had segfaults or failed builds. I would like to ask how I can either
> support an older version of libc6 or upgrade any customers' systems to the
> correct version. I'd also happily accept not requiring libc6 at all.

The basic fact is that Linux binaries built in one environment are not
guaranteed to be portable to run on other Linux distributions (or other
versions of the same distribution).

If github actions give you the option of building in a Debian stable
environment, that would address your needs.

But I wouldn't generally regard github as a production build environment.

The other option is that you can wait for the next Debian stable release,
which will bring glibc 2.36...

> How may I achieve this?
> 
> Thank You,
> Alexis
> 
> ```bash
> ./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
> (required by ./project)
> ./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found
> (required by ./project)
> ./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
> (required by ./project)
> ./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
> (required by lib/libSDL2-2.0.so.0)
> ./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found
> (required by lib/libSDL2-2.0.so.0)
> ./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
> (required by lib/libSDL2-2.0.so.0)
> ./project: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
> (required by lib/libfreetype.so.6)
> ```

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

[toc] | [prev] | [next] | [standalone]


#13270

FromAndrey Rakhmatullin <wrar@wrar.name>
Date2023-04-26 10:40 +0200
Message-ID<GoIQV-4CjB-3@gated-at.bofh.it>
In reply to#13266
On Tue, Apr 25, 2023 at 06:29:11PM -0400, Alexis E wrote:
> Dear Debian Mailing List,
>     I am working on a project which requires libc6. When I build this
> project on my laptop, the project works fine as it builds for the libc6 on
> my laptop, however, when I build it in Github actions, the project fails to
> run, due to Debian not having a libc6 version as low as GLibC 2.32.
If you want to support running on stable consider building on stable. You
may want to consult Github actions documentation to see if it's possible
and how to do that.
Please also note that the user support list is debian-user@.

> I've
> tried to compile my project to musl, statically, and even just embedding
> the correct version of libc6 in the lib folder that I set my rpath to. I've
> either had segfaults or failed builds. I would like to ask how I can either
> support an older version of libc6 or upgrade any customers' systems to the
> correct version. I'd also happily accept not requiring libc6 at all.
Out of all of these options building on an older system sounds the best
and the easiest.

[toc] | [prev] | [next] | [standalone]


#13272

FromSam Morris <sam@robots.org.uk>
Date2023-04-26 19:40 +0200
Message-ID<GoRhv-4HAS-13@gated-at.bofh.it>
In reply to#13266
On 25/04/2023 23:29, Alexis E wrote:
>      I am working on a project which requires libc6. When I build this 
> project on my laptop, the project works fine as it builds for the libc6 
> on my laptop, however, when I build it in Github actions, the project 
> fails to run, due to Debian not having a libc6 version as low as GLibC 
> 2.32.

Try changing your job to run on an older runner image: 
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners

For instance, ubuntu-18.04 will build against glibc 2.27.

-- 
Sam Morris <https://robots.org.uk/>
PGP: rsa4096/CAAA AA1A CA69 A83A 892B  1855 D20B 4202 5CDA 27B9

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.project


csiph-web