Skip to content

Is it possible to package libx11 with the wheel or remove libx11 dependency? #67

@AlienKevin

Description

@AlienKevin

Hi, thanks for developing this awesome lib! SGLang is trying to migrate from decord to video_reader-rs for faster speed and compatibility with ARM. We are almost there except there was an issue with a missing libX11 dependency in the published wheel. Is it possible to package libx11 with the wheel? Or if libX11 is not necessary for the function of video_reader-rs, is there a way to remove this dependency? Thanks.

The build error we encountered is below:

Run docker exec -w /sglang-checkout/ ci_sglang_xeon \
  docker exec -w /sglang-checkout/ ci_sglang_xeon \
    bash -c "cd ./test/srt && python3 run_suite.py --suite per-commit-cpu"
  shell: /usr/bin/bash -e {0}
Traceback (most recent call last):
  File "/sglang-checkout/test/srt/run_suite.py", line 5, in <module>
    from sglang.test.test_utils import run_unittest_files
  File "/sglang-checkout/python/sglang/test/test_utils.py", line 29, in <module>
    from sglang.srt.utils import (
  File "/sglang-checkout/python/sglang/srt/utils.py", line 87, in <module>
    from video_reader import PyVideoReader
  File "/sgl-workspace/miniforge3/lib/python3.12/site-packages/video_reader/__init__.py", line 1, in <module>
    from .video_reader import *
ImportError: libX11.so.6: cannot open shared object file: No such file or directory
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions