onelastdance
Erlang Observer Broken on Ubuntu 24.04: [error] WX ERROR: Could not load library: :load_failed
Hey there,
Using the install script method recommended here on Ubuntu 24.04:
And then running the following commands:
iex> :observer.start()
Will lead this this error:
20:07:15.024 [error] WX ERROR: Could not load library: :load_failed
Failed to load NIF library /home/madvillain/.elixir-install/installs/otp/27.1.2/lib/wx-2.4.3/priv/wxe_driver: 'libwx_gtk3u_stc-3.2.so.0: cannot open shared object file: No such file or directory'
{:error,
{{:error,
{:load_failed,
~c"Failed to load NIF library /home/madvillain/.elixir-install/installs/otp/27.1.2/lib/wx-2.4.3/priv/wxe_driver: 'libwx_gtk3u_stc-3.2.so.0: cannot open shared object file: No such file or directory'"}},
[
{:wxe_server, :start, 1, [file: ~c"wxe_server.erl", line: 66]},
{:wx, :new, 1, [file: ~c"wx.erl", line: 210]},
{:observer_wx, :init, 1, [file: ~c"observer_wx.erl", line: 114]},
{:wx_object, :init_it, 6, [file: ~c"wx_object.erl", line: 594]},
{:proc_lib, :init_p_do_apply, 3, [file: ~c"proc_lib.erl", line: 329]}
]}}
It looks like a missing system dependency but I am not sure what to install. Is this expected behaviour or a bug?
Marked As Solved
arcanemachine
The asdf-erlang GitHub repo has a full list of dependencies required for everything to work when using Erlang. This should help prevent similar situations from occurring again in the future.
Also Liked
LostKobrakai
dimitarvp
To me having extra 50-100ms on starting up an already interpreted runtime like the BEAM VM was a bridge too far.
Outside of that I do agree that you shouldn’t change what ain’t broken. But I am such a guy that I always look for something better.
HDT186
Last Post!
mihai.t
Hi,
I had the same issue.
Fixed it by running:
sudo apt install libwxgtk3.2-1t64
sudo apt install libwxgtk-gl3.2-1t64
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex









