pot-app / pot-desktop

🌈一个跨平台的划词翻译和OCR软件 | A cross-platform software for text translation and recognition.
https://pot-app.com
GNU General Public License v3.0
10.46k stars 476 forks source link

Backup about system using llvm+libcxx unable to start precompiled pot #939

Open qwe795138426 opened 1 month ago

qwe795138426 commented 1 month ago

Description

It is known that libc++ is incompatibility with libstdc++. So I failed when I tried to start the precompiled pot in the official llvm profile. And using llvm during compilation will cause error (I know that gentoo is not an officially supported distribution, I post the bug here to provide reference for users in need)

Reproduction

install .deb package in release page and start it

Platform

Linux

System Version

Gentoo Linux x86_64

Window System (Linux Only)

X11

Software Version

3.0.5

Log File

No response

Additional Information

Solution:

  1. Compile with gcc if you get error like (Invalid attribute group entry (Producer: 'LLVM19.1.0+libcxx' Reader: 'LLVM 18.1.8+libcxx'))
  2. If you want to use the official guides in portage, maybe you want FEATURES="-network-sandbox" in /etc/portage/make.conf
  3. If you use profile like default/linux/amd64/23.0/llvm/* , you must use a locally compiled version, otherwise, segmentation fault will occur.
  4. you will need net-libs/webkit-gtk:4 for libwebkit2gtk support, net-libs/webkit-gtk will only install 4.1