onelastdance

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

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

LostKobrakai

Try

dimitarvp

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

HDT186

Did you install?: libwxgtk-gl3.2-1t64

arcanemachine

arcanemachine

I gave it a shot, but I ended up sticking with asdf, mostly for reasons of “if it ain’t broke, don’t fix it”.

I’ll give it a shot again soon, but I’m just recommending the status quo. Not sure what edge cases will crop up for newcomers using the fancy new tech, although I don’t doubt that it’s objectively better. (Although these days, ASDF is likely to have issues since the Go rewrite…)

P.S. We’re still friends. :stuck_out_tongue:

Where Next?

Popular in Troubleshooting Top

alexlanderzander
Hello everyone, I’m working on a blockchain project in Elixir and I’m implementing some of the core cryptography in a Rust NIF using Rus...
New
Ferenc
I have installed it on Phoenix 1.8.1 (without authentication or other packages and got 2 problems). I had to set up things manually the ...
New
jdj_dk
Hi everyone. I’m trying to setup a small cluster with three nodes. I’m using libcluster as I have before. But my nodes doesn’t have a us...
New
runyonave
We have been stuck on this for a few days now and I am really not sure what could be missing. I can get chromic_pdf to work perfectly fin...
New
pikdum
Hello, I’m trying to upgrade a pretty large project from Elixir 1.18.4 to Elixir 1.19.1 (1321 modules), but seeing some compiler warning...
New
jason.o
I don’t get an error directly related to Paraxial, but removing that dependency stopped the crash. Has anyone experienced a similar issu...
New
onelastdance
Hey there, Using the install script method recommended here on Ubuntu 24.04: And then running the following commands: iex> :obser...
New
klo
Is there any way to go from a float 1.0 to 1.00 while retaining the float() type?
New
rayex
Hi, I am using the following versions: Erlang/OTP 27 [erts-15.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns] El...
New
apoorv-2204
The Issue of Enums in Elixir Elixir doesn’t have a native enum construct, so we usually rely on atoms, strings, or macros to represent na...
New

Other popular topics Top

shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
977 41022 311
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 45766 226
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
AstonJ
by Lance Halvorsen Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
460 27162 124
New

We're in Beta

About us Mission Statement