Skip to content

libgs cannot be found on python 3.8 alpine and slim images #260

@rommeswi

Description

@rommeswi

No matter whether I use python:3.8-slim or python:3.8-alpine, I keep running into issues with libgs not being found.

on slim:

CRITICAL RuntimeError: libgs found by linker magic,   __init__.py:683
                    but is not in /usr/lib or /usr/lib64

on alpine latex2svg simply complains that it cannot find libgs.

Surprisingly, in alpine it is actually installed in a standard directory /usr/lib but python3 -c "from ctypes.util import find_library; print(find_library('gs'))" returns None.

I am not sure how to proceed about this. Is this a configuration error? It seems using an alpine image for something like github/gitlab pages seems like something that should be working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions