Asdf-erlang: ERROR: Could not find 'wxe_driver.so'

Created on 12 Feb 2017  路  8Comments  路  Source: asdf-vm/asdf-erlang

Erlang built by asdf on linux (Fedora 25) fails to build the wxe_driver.so.

wwalker@serenity:~$ erl -s observer
Erlang/OTP 19 [erts-8.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V8.1 (abort with ^G)

=ERROR REPORT==== 11-Feb-2017::21:03:00 ===
ERROR: Could not find 'wxe_driver.so' in: /home/wwalker/.asdf/installs/erlang/19.1/lib/erlang/lib/wx-1.7.1/priv
1>

Most helpful comment

Works for me after brew install wxmac and reinstalling each erlang version.

brew install wxmac
asdf uninstall erlang 19.3
asdf install erlang 19.3
cat .tool-versions
# erlang 19.3
erl -s observer
# success
iex
iex(1)> :observer.start()
# success

All 8 comments

I'm not familiar with that exact error but my guess is that you don't have WX installed. Refer to the README for the dependencies you need to have installed before compiling Erlang. You can look at the output during the build and see whether or not it found your WX libraries.

Closing this issue due to inactivity. Please reopen if you find an issue caused by asdf-erlang.

This is still happening to me. When running :observer.start in an iex shell this error is raised.

I'm experiencing the same thing on Mac OS

Works for me after brew install wxmac and reinstalling each erlang version.

brew install wxmac
asdf uninstall erlang 19.3
asdf install erlang 19.3
cat .tool-versions
# erlang 19.3
erl -s observer
# success
iex
iex(1)> :observer.start()
# success

The dependencies must be present at the time an Erlang version is installed, so all older versions must be reinstalled if a dependency was missing.

For anyone else running into this error on Fedora, installing these packages and then reinstalling erlang allowed me to start observer:

dnf install wxGTK3-devel mesa-libGL-devel mesa-libGLU-devel
asdf uninstall erlang 20.1
asdf install erlang 20.1

Before doing what @Frost mentioned for Fedora. Make sure you have G++(GCC-C++) or other C++ compilers installed. Otherwise, the Erlang installer won't find wx/stx/stc.h in your WxWidgets installation files.

Linking issue #35

Was this page helpful?
0 / 5 - 0 ratings

Related issues

denegny picture denegny  路  6Comments

kokolegorille picture kokolegorille  路  7Comments

cehoffman picture cehoffman  路  3Comments

jdmarshall picture jdmarshall  路  4Comments

fhunleth picture fhunleth  路  7Comments