Moroshima / zotero-deb

4 stars 0 forks source link

arc4random 的 libevent 与 glibc 兼容问题 #6

Closed heroxbd closed 1 year ago

heroxbd commented 1 year ago

解决方案的参考资料:

  1. https://bugs.debian.org/1023284
  2. https://github.com/libevent/libevent/issues/1393
heroxbd commented 1 year ago

建议:把 libevent 从 firefox 里去掉,让 build 系统使用 OS 中的 libevent 。

Moroshima commented 1 year ago

了解,我会立刻着手进行这部分工作的尝试

Moroshima commented 1 year ago

成功实现绕过 libevent 该部分编译

Moroshima commented 1 year ago

Solution:

sudo apt install libevent-2.1-7 libevent-core-2.1-7 libevent-extra-2.1-7 libevent-dev
MOZ_SYSTEM_LIBEVENT=1 ./mach build
heroxbd commented 1 year ago

Moroshima @.***> writes:

sudo apt install libevent-2.1-7 libevent-core-2.1-7 libevent-extra-2.1-7 libevent-dev MOZ_SYSTEM_LIBEVENT=1 ./mach build

太棒了!厉害