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

Update internal PBS to 20230726 3.11.4. #38

Merged
merged 1 commit into from
Aug 5, 2023

Conversation

jsirois
Copy link
Contributor

@jsirois jsirois commented Aug 4, 2023

This removes a dependence on the problematic libcrypt.so.1 on Linux
and should allow science to run out of the box on more Linux distros.

See:

This removes a dependence on the problematic `libcrypt.so.1` on Linux
and should allow `science` to run out of the box on more Linux distros.
@jsirois
Copy link
Contributor Author

jsirois commented Aug 4, 2023

Huh, with the 20230726 release of PBS, Python scies can now run on IBM mainframes. Maybe science should start shipping a few more binaries: #39

Copy link
Collaborator

@benjyw benjyw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jeez, Linux is a mess sometimes.

@jsirois jsirois merged commit b3cb0ea into a-scie:main Aug 5, 2023
6 checks passed
@jsirois jsirois deleted the libcrypt/begone branch August 5, 2023 14:29
@jsirois
Copy link
Contributor Author

jsirois commented Aug 5, 2023

Broken before:

$ docker run --rm -it archlinux
[root@e99ddf44bb7e /]# curl -fLO \
  https://github.com/a-scie/lift/releases/download/v0.1.2/science-linux-x86_64
curl -fL \
  https://github.com/a-scie/lift/releases/download/v0.1.2/science-linux-x86_64.sha256 \
  | sha256sum -c -
chmod +x science-linux-x86_64 && mv science-linux-x86_64 /usr/bin/science
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 6313k  100 6313k    0     0  10.1M      0 --:--:-- --:--:-- --:--:-- 10.1M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    87  100    87    0     0    175      0 --:--:-- --:--:-- --:--:--   175
science-linux-x86_64: OK
[root@e99ddf44bb7e /]# science -V
/root/.cache/nce/da50b87d1ec42b3cb577dfd22a3655e43a53150f4f98a4bfb40757c9d7839ab5/cpython-3.11.3+20230507-x86_64-unknown-linux-gnu-install_only.tar.gz/python/bin/python3.11: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
[root@e99ddf44bb7e /]#

Now all good:

$ docker run --rm -it archlinux
[root@e99ddf44bb7e /]# curl -fLO \
  https://github.com/a-scie/lift/releases/download/v0.1.3/science-linux-x86_64
curl -fL \
  https://github.com/a-scie/lift/releases/download/v0.1.3/science-linux-x86_64.sha256 \
  | sha256sum -c -
chmod +x science-linux-x86_64 && mv science-linux-x86_64 /usr/bin/science
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 6920k  100 6920k    0     0  8944k      0 --:--:-- --:--:-- --:--:-- 8944k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    87  100    87    0     0    208      0 --:--:-- --:--:-- --:--:--   208
science-linux-x86_64: OK
[root@e99ddf44bb7e /]# science -V
0.1.3
[root@e99ddf44bb7e /]#

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

Successfully merging this pull request may close these issues.

2 participants