gpt4 book ai didi

erlang - Ubuntu 20.04.1 LTS : ERROR: Could not find 'wxe_driver.so'

转载 作者:行者123 更新时间:2023-12-05 02:04:45 27 4
gpt4 key购买 nike

maxximiliann@Maxximiliann:$ iex -S mix
Erlang/OTP 22 [erts-10.7.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [

Interactive Elixir (1.10.3) - press Ctrl+C to exit (type h() ENTER for help)


iex(1)> :observer.start

12:45:30.511 [error] ERROR: Could not find 'wxe_driver.so' in: /home/maxximiliann/.asdf/installs/erlang/22.3.3/lib/wx-1.9/priv

{:error,
{{:load_driver, 'No driver found'},
[
{:wxe_server, :start, 1, [file: 'wxe_server.erl', line: 65]},
{:wx, :new, 1, [file: 'wx.erl', line: 115]},
{:observer_wx, :init, 1, [file: 'observer_wx.erl', line: 107]},
{:wx_object, :init_it, 6, [file: 'wx_object.erl', line: 372]},
{:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}
]}}

These按照说明在这台 Ubuntu 机器上安装 erlang-wx:

Operating System: Ubuntu 20.04.1 LTS
Kernel: Linux 5.4.0-48-generic
Architecture: x86-64

observer 运行还需要什么?

最佳答案

erlang-wx 包仅供通过 Ubuntu 包安装的 Erlang 使用,但您的包是使用 asdf 构建的。当您要求 asdf 构建 Erlang 时,它大概打印了这个:

 * wx             : wxWidgets not found, wx will NOT be usable

要解决这个问题,请安装软件包 libwxgtk3.0-gtk3-dev,然后删除并重新安装 asdf Erlang 安装。

关于erlang - Ubuntu 20.04.1 LTS : ERROR: Could not find 'wxe_driver.so' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64110955/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com