jingyen opened issue ALHP/ALHP.GO#289

jingyen
Sun, 19 Apr 2026 13:51:01 +0200

289#marisa 0.3.1-1.1: missing RTTI symbol breaks librime#

Seems like librime (1:1.16.1-8.1, x86-64-v3) fails to load at runtime because libmarisa.so from marisa (0.3.1-1.1, x86-64-v3) doesn't export the typeinfo for marisa::Exception symbol.

fcitx5 logs:

E addonloader.cpp:67] Failed to load library for addon rime on "/usr/lib/fcitx5/librime.so". Error: /usr/lib/librime.so.1: undefined symbol: _ZTIN6marisa9ExceptionE

Confirmed the symbol is needed by librime but absent from the ALHP build:

$ nm -D /usr/lib/librime.so.1 | grep marisa9Exception
                 U _ZTIN6marisa9ExceptionE
$ nm -D /usr/lib/libmarisa.so | grep marisa9Exception
(no output)

Downgrading to extra/marisa and extra/librime is a workaround for now, are the x86-64-v3 build flags are stripping RTTI visibility for this symbol?

I also found a similar issue in CachyOS forum