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

Is freeglut3 needed #43

Open
Hugo-Leung opened this issue Aug 6, 2023 · 3 comments
Open

Is freeglut3 needed #43

Hugo-Leung opened this issue Aug 6, 2023 · 3 comments

Comments

@Hugo-Leung
Copy link

First, thank you for creating this script.

While reading the documentation on tug.org, I notice they have Depends: freeglut3 in debian-equivs-2022-ex.txt, which is not present in debian-control-texlive-in.txt

Is this is deliberate choice? Thank you

@scottkosty
Copy link
Owner

Thanks for the report! It was not a deliberate choice. I'm not sure why they have freeglut3 listed. We would need to figure that out before we know whether it should also be listed in debian-control-texlive-in.txt. I have tested install-tl-ubuntu on a fresh installation of minimal Ubuntu, and it worked, which makes me think that there's no dependency missing. But I'm not at all confident about that.

@Hugo-Leung
Copy link
Author

Hugo-Leung commented Aug 6, 2023

I did a bit of digging, it seems asymptote that is shipped in the standard repo depends on freeglut3

$apt info asymptote |grep freeglut3
Depends: tex-common (>= 6.13), python3:any, freeglut3 (>= 2.8.1), libboost-filesystem1.74.0 (>= 1.74.0), libboost-thread1.74.0 (>= 1.74.0), libc6 (>= 2.35), libcurl3-gnutls (>= 7.16.2), libfftw3-double3 (>= 3.3.5), libgc1 (>= 1:7.2d), libgcc-s1 (>= 3.3.1), libgl1, libglew2.2 (>= 2.2.0-4), libglx0, libgsl27 (>= 2.7.1), libreadline8 (>= 6.0), libsigsegv2 (>= 2.9), libstdc++6 (>= 11), libtinfo6 (>= 6), libtirpc3 (>= 1.0.2), zlib1g (>= 1:1.2.3.3), ghostscript, imagemagick, texlive-binaries, texlive-latex-base, texlive-pstricks, texlive-plain-generic, xdg-utils

Therefore using the current install-tl-ubuntu, the following command would fail

$ which asy
/opt/texbin/asy
$ asy
asy: error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory

Having said that the the texlive docker image from Island of TeX also removed freeglut3
https://gitlab.com/islandoftex/images/texlive/-/commit/ecaffc6540d1f45eccf5888cb212a91a29b03846

@scottkosty
Copy link
Owner

Good to know! Thanks for that info, especially for how to reproduce an error without the package. Let's leave this open. I'm not sure how to proceed on it and don't have time to look at it carefully.

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

No branches or pull requests

2 participants