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

Last Post!

mihai.t

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

Where Next?

Popular in Questions Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

Other popular topics Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New

We're in Beta

About us Mission Statement