Page MenuHomeSolus

Cannot start Elixir/Erlang observer
Closed, ResolvedPublic

Description

When trying to run Observer (an application built into Erlang/OTP used to get info about the running BEAM VM) from the Erlang or Elixir command line you get the following error:

20:55:13.694 [error] ERROR: Could not find 'wxe_driver.so' in: /usr/lib64/erlang/lib/wx-1.8.1/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: 98]},
   {:wx_object, :init_it, 6, [file: 'wx_object.erl', line: 372]},
   {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 247]}]}}

Installing wxwidgets does not help. It seems that the wx libs must be on the system when erlang is compiled in order for this to work.

Revisions and Commits

Event Timeline

DataDrake triaged this task as Normal priority.Jul 20 2017, 1:52 AM
DataDrake edited projects, added Software; removed Lacks Project.
DataDrake added a subscriber: DataDrake.

Looks like we need to recompile it against wxwidgets.

Is this still an issue? We've compiled and updated elixir and erlang several time since this post.

@JoshStrobl - Issue is still present, as @DataDrake said I think the package (probably Erlang itself) must be built against wxwidgets.

checking for OpenGL/glu.h... no
configure: WARNING: No GLU headers found, wx will NOT be usable
./configure: line 4656: wx-config: command not found
checking for debug build of wxWidgets... checking for wx-config... no
checking for standard build of wxWidgets... checking for wx-config... (cached) no
configure: WARNING:
                wxWidgets must be installed on your system.

		Please check that wx-config is in path, the directory
		where wxWidgets libraries are installed (returned by
		'wx-config --libs' or 'wx-config --static --libs' command)
		is in LD_LIBRARY_PATH or equivalent variable and
		wxWidgets version is 2.8.4 or above.