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

tachyon runtime errors related to libpng #38531

Closed
mkoeppe opened this issue Aug 19, 2024 · 2 comments · Fixed by #38534
Closed

tachyon runtime errors related to libpng #38531

mkoeppe opened this issue Aug 19, 2024 · 2 comments · Fixed by #38534

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Aug 19, 2024

On virtually all Linux platforms that use the tachyon SPKG.

  [sagemath_doc_html-none]   [spkg-install] tachyon: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory

for example Ubuntu:

The libpng upgrade in #30564 does not fix it: minimal / linux (ubuntu-noble, minimal)

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Aug 19, 2024

$ docker run -it ghcr.io/mkoeppe/sage/sage-debian-bookworm-minimal-with-targets-pre:ci-37434-38510-11 bash
Unable to find image 'ghcr.io/mkoeppe/sage/sage-debian-bookworm-minimal-with-targets-pre:ci-37434-38510-11' locally
ci-37434-38510-11: Pulling from mkoeppe/sage/sage-debian-bookworm-minimal-with-targets-pre
Digest: sha256:5445fe0ac3922499ea8a19566388d3cf4521084da240fb319755583df2e638b6
Status: Downloaded newer image for ghcr.io/mkoeppe/sage/sage-debian-bookworm-minimal-with-targets-pre:ci-37434-38510-11
root@e55f23b51528:/sage# ./sage -sh 

Starting subshell with Sage environment variables set.  Don't forget
to exit when you are done.  Beware:
 * Do not do anything with other copies of Sage on your system.
 * Do not use this for installing Sage packages using "sage -i" or for
   running "make" at Sage's root directory.  These should be done
   outside the Sage shell.

Bypassing shell configuration files...

Note: SAGE_ROOT=/sage
(sage-sh) root@e55f23b51528:sage$ tachyon 
tachyon: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
(sage-sh) root@e55f23b51528:sage$ which tachyon
/sage/local/bin/tachyon
(sage-sh) root@e55f23b51528:sage$ ldd `which tachyon`
	linux-vdso.so.1 (0x00007ffdc7f3f000)
	libpng16.so.16 => not found
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe088fd8000)
	libmvec.so.1 => /lib/x86_64-linux-gnu/libmvec.so.1 (0x00007fe088edf000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe088cfe000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fe08913e000)
(sage-sh) root@e55f23b51528:sage$ ls /usr/lib/libpng*
ls: cannot access '/usr/lib/libpng*': No such file or directory
(sage-sh) root@e55f23b51528:sage$ ls local/lib/libpng*
local/lib/libpng.so  local/lib/libpng16.so  local/lib/libpng16.so.16  local/lib/libpng16.so.16.29.0

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Aug 20, 2024

For downstream patches - see links in https://groups.google.com/g/sage-devel/c/pj76chTb348

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

Successfully merging a pull request may close this issue.

1 participant