Wings 3D Development Forum
install problem: WX Failed loading "wxe_driver", Ubuntu 18.04 - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=9)
+--- Thread: install problem: WX Failed loading "wxe_driver", Ubuntu 18.04 (/showthread.php?tid=2846)



install problem: WX Failed loading "wxe_driver", Ubuntu 18.04 - gutschy - 10-01-2019

Hello to all,

I'm trying to install wings-2.2.4. Run the install script looks fine.
Typed: sh ./wings and get an Error Report and a Crash Report. Any Idea?

Code:
➜  ~ cd wings-2.2.4
➜  wings-2.2.4 ls                                  
bin  lib  wings  wings.appdata.xml  wings.desktop
➜  wings-2.2.4 sudo sh ./wings                      
=ERROR REPORT==== 1-Oct-2019::12:08:01.438092 ===
WX Failed loading "wxe_driver"@"/home/gutschy/wings-2.2.4/lib/wx-1.8.7/priv"

=CRASH REPORT==== 1-Oct-2019::12:08:01.463782 ===
  crasher:
    initial call: wxe_master:init/1
    pid: <0.81.0>
    registered_name: []
    exception error: {load_driver,"libwx_gtk2u_stc-3.0.so.0: cannot open shared object file: No such file or directory"}
      in function  wxe_master:init/1 (wxe_master.erl, line 132)
      in call from gen_server:init_it/2 (gen_server.erl, line 374)
      in call from gen_server:init_it/6 (gen_server.erl, line 342)
    ancestors: [<0.80.0>,wings_sup,<0.78.0>]
    message_queue_len: 0
    messages: []
    links: []
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 987
    stack_size: 27
    reductions: 2872
  neighbours:

=CRASH REPORT==== 1-Oct-2019::12:08:01.463936 ===
  crasher:
    initial call: wxe_server:init/1
    pid: <0.80.0>
    registered_name: []
    exception error: {load_driver,"libwx_gtk2u_stc-3.0.so.0: cannot open shared object file: No such file or directory"}
      in function  wxe_master:init/1 (wxe_master.erl, line 132)
      in call from gen_server:init_it/2 (gen_server.erl, line 374)
      in call from gen_server:init_it/6 (gen_server.erl, line 342)
    ancestors: [wings_sup,<0.78.0>]
    message_queue_len: 0
    messages: []
    links: []
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 27
    reductions: 242
  neighbours:

=CRASH REPORT==== 1-Oct-2019::12:08:01.464071 ===
  crasher:
    initial call: supervisor:wings_sup/1
    pid: <0.79.0>
    registered_name: []
    exception error: {load_driver,"libwx_gtk2u_stc-3.0.so.0: cannot open shared object file: No such file or directory"}
      in function  wxe_server:start/1 (wxe_server.erl, line 65)
      in call from wx:new/1 (wx.erl, line 115)
      in call from wings_sup:init/1 (wings_sup.erl, line 72)
      in call from supervisor:init/1 (supervisor.erl, line 295)
      in call from gen_server:init_it/2 (gen_server.erl, line 374)
      in call from gen_server:init_it/6 (gen_server.erl, line 342)
    ancestors: [<0.78.0>]
    message_queue_len: 0
    messages: []
    links: [<0.78.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 987
    stack_size: 27
    reductions: 314
  neighbours:

=CRASH REPORT==== 1-Oct-2019::12:08:01.464190 ===
  crasher:
    initial call: application_master:init/4
    pid: <0.77.0>
    registered_name: []
    exception exit: {{{load_driver,"libwx_gtk2u_stc-3.0.so.0: cannot open shared object file: No such file or directory"},
                      [{wxe_server,start,1,
                                   [{file,"wxe_server.erl"},{line,65}]},
                       {wx,new,1,[{file,"wx.erl"},{line,115}]},
                       {wings_sup,init,1,[{file,"wings_sup.erl"},{line,72}]},
                       {supervisor,init,1,
                                   [{file,"supervisor.erl"},{line,295}]},
                       {gen_server,init_it,2,
                                   [{file,"gen_server.erl"},{line,374}]},
                       {gen_server,init_it,6,
                                   [{file,"gen_server.erl"},{line,342}]},
                       {proc_lib,init_p_do_apply,3,
                                 [{file,"proc_lib.erl"},{line,249}]}]},
                     {wings_sup,start,[normal,[]]}}
      in function  application_master:init/4 (application_master.erl, line 138)
    ancestors: [<0.76.0>]
    message_queue_len: 1
    messages: [{'EXIT',<0.78.0>,normal}]
    links: [<0.76.0>,<0.43.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 987
    stack_size: 27
    reductions: 313
  neighbours:

=INFO REPORT==== 1-Oct-2019::12:08:01.467632 ===
    application: wings
    exited: {{{load_driver,"libwx_gtk2u_stc-3.0.so.0: cannot open shared object file: No such file or directory"},
              [{wxe_server,start,1,[{file,"wxe_server.erl"},{line,65}]},
               {wx,new,1,[{file,"wx.erl"},{line,115}]},
               {wings_sup,init,1,[{file,"wings_sup.erl"},{line,72}]},
               {supervisor,init,1,[{file,"supervisor.erl"},{line,295}]},
               {gen_server,init_it,2,[{file,"gen_server.erl"},{line,374}]},
               {gen_server,init_it,6,[{file,"gen_server.erl"},{line,342}]},
               {proc_lib,init_p_do_apply,3,
                         [{file,"proc_lib.erl"},{line,249}]}]},
             {wings_sup,start,[normal,[]]}}
    type: temporary



RE: install problem: WX Failed loading "wxe_driver", Ubuntu 18.04 - dgud - 10-01-2019

Does: sudo apt-get install libwx_gtk2u_stc-3.0-0v5
solve your problem


RE: install problem: WX Failed loading "wxe_driver", Ubuntu 18.04 - gutschy - 10-02-2019

Sorry,

Ubuntu can't find the package, and I can't find it online. Maybe you have prescribed yourself? And thanks for your help.


RE: install problem: WX Failed loading "wxe_driver", Ubuntu 18.04 - micheus - 10-02-2019

(10-01-2019, 12:01 PM)dgud Wrote: Does: sudo apt-get install libwx_gtk2u_stc-3.0-0v5
solve your problem

Maybe that is the pack name: libwxgtk3.0-0v5

It is listed in this doc: Installing and configuring under Ubuntu


RE: install problem: WX Failed loading "wxe_driver", Ubuntu 18.04 - gutschy - 10-03-2019

Hi Micheus,

you made my day!! Wings3D is running. Smile

sudo apt-get install libwxgtk3.0-0v5


RE: install problem: WX Failed loading "wxe_driver", Ubuntu 18.04 - micheus - 11-15-2019

Thanks for the feedback.


RE: install problem: WX Failed loading "wxe_driver", Ubuntu 18.04 - Bram - 01-21-2021

I am completely flabbergasted how this could have solved it for OP.

I have the same error:

{load_driver,"libwx_gtk2u_stc-3.0.so.0: cannot open shared object file: No such file or directory"}

And I have the wxgtk3 package installed, but that package has gtk3u entries only, not a single gtk2u one:

Code:
$ dpkg -S libwx_gtk
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_xrc-3.0.so.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_qa-3.0.so.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_aui-3.0.so.0.5.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_qa-3.0.so.0.5.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_ribbon-3.0.so.0.5.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_propgrid-3.0.so.0.5.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0.5.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_stc-3.0.so.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_richtext-3.0.so.0.5.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_xrc-3.0.so.0.5.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_richtext-3.0.so.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_stc-3.0.so.0.5.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_html-3.0.so.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_adv-3.0.so.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_html-3.0.so.0.5.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_adv-3.0.so.0.5.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_propgrid-3.0.so.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_aui-3.0.so.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_ribbon-3.0.so.0
libwxgtk3.0-gtk3-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0.5.0

As a matter of fact, Ubuntu repo comes up with zero hits on libwx_gtk2u so how could this have solved the missing lib?


RE: install problem: WX Failed loading "wxe_driver", Ubuntu 18.04 - micheus - 01-21-2021

I'm not a Linux regular user. When I suggested that I did a search and the files appeared on that package name

https://packages.ubuntu.com/bionic/libwxgtk3.0-0v5

File list of package libwxgtk3.0-0v5 in bionic of architecture amd64
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0.4.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_aui-3.0.so.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_aui-3.0.so.0.4.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0.4.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_gl-3.0.so.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_gl-3.0.so.0.4.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-3.0.so.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-3.0.so.0.4.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_propgrid-3.0.so.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_propgrid-3.0.so.0.4.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_qa-3.0.so.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_qa-3.0.so.0.4.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_ribbon-3.0.so.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_ribbon-3.0.so.0.4.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_richtext-3.0.so.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_richtext-3.0.so.0.4.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_stc-3.0.so.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_stc-3.0.so.0.4.0

/usr/lib/x86_64-linux-gnu/libwx_gtk2u_xrc-3.0.so.0
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_xrc-3.0.so.0.4.0
/usr/share/doc/libwxgtk3.0-0v5/changelog.Debian.gz
/usr/share/doc/libwxgtk3.0-0v5/copyright
/usr/share/lintian/overrides/libwxgtk3.0-0v5



RE: install problem: WX Failed loading "wxe_driver", Ubuntu 18.04 - Bram - 01-21-2021

Ah, thanks.

So yeah, The Long Term Support (LTS) version for Ubuntu is now at 20.04.1 and even though 18.04 is still supported, it is not current.

I will download that package though, and extract the .so files from it, to see if that will help me.

UPDATE: Yeah, that works. With those libs, I can run wings3d. (I still see stutters in the UI though, but they are hard to reliably produce, it is an intermittent problem.)