Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

docs(faq): add solution for libGL.so.1 missing on WSL2 Ubuntu22.04

myhloli0405461d35c9
diff --git a/docs/FAQ_en_us.md b/docs/FAQ_en_us.md
index 3000db8a..eec2fab3 100644
--- a/docs/FAQ_en_us.md
+++ b/docs/FAQ_en_us.md
@@ -26,3 +26,13 @@ The path for the model files is configured in "magic-pdf.json". just like:
This path is an absolute path, not a relative path. You can obtain the absolute path in the models directory using the "pwd" command.
Reference: https://github.com/opendatalab/MinerU/issues/155#issuecomment-2230216874
+
+### 4. Encountered the error `ImportError: libGL.so.1: cannot open shared object file: No such file or directory` in Ubuntu 22.04 on WSL2
+
+The `libgl` library is missing in Ubuntu 22.04 on WSL2. You can install the `libgl` library with the following command to resolve the issue:
+
+```bash
+sudo apt-get install libgl1-mesa-glx
+```
+
+Reference: https://github.com/opendatalab/MinerU/issues/388
diff --git a/docs/FAQ_zh_cn.md b/docs/FAQ_zh_cn.md
index f906419e..301c4b17 100644
--- a/docs/FAQ_zh_cn.md
+++ b/docs/FAQ_zh_cn.md
@@ -25,3 +25,11 @@ pip install magic-pdf[full]
进行配置的。
这个路径是绝对路径而不是相对路径,绝对路径的获取可在models目录中通过命令 "pwd" 获取。
参考:https://github.com/opendatalab/MinerU/issues/155#issuecomment-2230216874
+
+### 4.在WSL2的Ubuntu22.04中遇到报错`ImportError: libGL.so.1: cannot open shared object file: No such file or directory`
+
+WSL2的Ubuntu22.04中缺少`libgl`库,可通过以下命令安装`libgl`库解决:
+```bash
+sudo apt-get install libgl1-mesa-glx
+```
+参考:https://github.com/opendatalab/MinerU/issues/388