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

v6.1.0 does not run on Ubuntu 20.04.6 LTS (focal) due to missing glibc required versions #3865

Closed
techfg opened this issue Mar 17, 2025 · 6 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@techfg
Copy link

techfg commented Mar 17, 2025

What is the current bug behavior?

After installing v6.1.0 on Ubuntu 20.04.6 LTS (focal), when running hurl, it fails to run with the following error:

hurl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by hurl)
hurl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by hurl)
hurl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by hurl)

Hurl Version 6.00 (directly via install or via npm of 6.0.1) did not have this issue.

Steps to reproduce

This can be reproduced in either of the ways below:

  1. following the install scripts in the docs:
VERSION=6.1.0
curl --location --remote-name https://github.com/Orange-OpenSource/hurl/releases/download/$VERSION/hurl_${VERSION}_amd64.deb
sudo apt update && sudo apt install ./hurl_${VERSION}_amd64.deb
hurl
  1. Adding @orangeopensource/[email protected] to an npm project:
npm i -D @orangeopensource/[email protected]
npx hurl

What is the expected correct behavior?

hurl should display usage when executed

Execution context

Hurl version: 6.1.0

$> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal

Possible fixes

  1. Update to newer Ubuntu (not really an option)
  2. Build from source or add glibc as required on individual machine, however this doesn't scale as a solution for other team members running 20.04.6 and would complicate CI processes as well.
@techfg techfg added the bug Something isn't working label Mar 17, 2025
@lepapareil
Copy link
Collaborator

lepapareil commented Mar 18, 2025

Hi @techfg, thks for this issue.

We have to clarify the install doc for generic/deb packages, adding minimum version for Ubuntu and Debian.

As a workaround, you can also achieve this using the ppa way for Hurl 6.0.0 :

VERSION=6.0.0
sudo apt-add-repository -y ppa:lepapareil/hurl
sudo apt install hurl="${VERSION}"*

(6.1.1 will be available within a few days)

@lepapareil lepapareil added the documentation Improvements or additions to documentation label Mar 18, 2025
@techfg
Copy link
Author

techfg commented Mar 18, 2025

Thanks for the quick reply @lepapareil!

Hi @techfg, thks for this issue.

We have to clarify the install doc for generic/deb packages, adding minimum version for Ubuntu and Debian.

Yeah, having this mentioned in the docs would be great, thank you! Since everything worked on 20.04.6 with 6.0.0, definitely was not expecting it to not work on 6.1.0 since it was just a minor version bump :)

As a workaround, you can also achieve this using the ppa way for Hurl 6.0.0 :

VERSION=6.0.0
sudo apt-add-repository -y ppa:lepapareil/hurl
sudo apt install hurl="${VERSION}"*

(6.1.1 will be available within a few days)

Assuming you meant 6.1.0 here, correct? Unfortunately, this workaround doesn't work in our use case because we npm install hurl but I did try this with 6.1.0 anyway to see if it would work but unfortunately got the following error:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '6.1.0*' for 'hurl' was not found

@lepapareil
Copy link
Collaborator

Assuming you meant 6.1.0 here, correct?

No, I really meant 6.0.0 😉.

I did not push 6.1.0 to ppa yet, because we discovered some bugs.
The new fixed version 6.1.1 will be available within a few days inclunding on ppa:lepapareil/hurl.

@techfg
Copy link
Author

techfg commented Mar 18, 2025

Gotcha, thanks! Ok, I'll test the PPA method on 6.1.1 when it's available just to confirm behavior on 20.04.6.

@lepapareil
Copy link
Collaborator

lepapareil commented Mar 25, 2025

Hi @techfg !

PPA is up-to-date with Hurl 6.1.1 for Bionic / Focal / jammy / noble 😄.

@lepapareil lepapareil self-assigned this Mar 25, 2025
@techfg
Copy link
Author

techfg commented Mar 25, 2025

@lepapareil - Just confirmed, all looks good and thank you for updating the docs via 39ca804.

@techfg techfg closed this as completed Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants