I use Asymptote. Upon compiling, I stumble across such error:
asy: error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory
After some googling, libglut.so.3
is part of freeglut3
, a graphics library that Asymptote uses. Apparently, TeXLive doesn't include it.
Since I don't want to create my own Docker image, if possible, is there a way to deactivate FreeGLUT (ideally via some command line option or in Asymptote code as a settings
attribute)? What is it roughly used for in Asymptote, and is it really necessary?
Background: I'm trying to automate compilation via Gitlab CI/CD, i.e. every time I push, a script is executed that compiles my LaTeX code. I use the official TeXLive Docker image for that purpose. The reason I don't want to install FreeGLUT is that otherwise, I'd need to create a new custom Docker image.
asy
and the regularasy
- the binary is dynamically linked tolibglut.so
. Ifasy
can do without it, you'd need a binary compiled without. Please change 'official TeXLive Docker image' to 'official Docker TeX Live image'. The link you give is to Docker, so I'm assuming it is their image - not TeX Live's. This is important, especially if the image is providing binaries which cannot work without making a different image.asy
: one in/usr/local/texlive/bin
and one in/usr/bin
.