Closed JackSoby closed 9 months ago
I have a very similar error, in particular the error seems to be around lib tiff
above and below:
❯ asdf install erlang
asdf_25.3.2.5 is not a kerl-managed Erlang/OTP installation
The asdf_25.3.2.5 build has been deleted
Extracting source code
Building Erlang/OTP 25.3.2.5 (asdf_25.3.2.5), please wait...
APPLICATIONS DISABLED (See: /Users/thbar/.asdf/plugins/erlang/kerl-home/builds/asdf_25.3.2.5/otp_build_25.3.2.5.log)
* odbc : ODBC library - link check failed
APPLICATIONS INFORMATION (See: /Users/thbar/.asdf/plugins/erlang/kerl-home/builds/asdf_25.3.2.5/otp_build_25.3.2.5.log)
* wx : wxWidgets was not compiled with --enable-webview or wxWebView developer package is not installed, wxWebView will NOT be available
DOCUMENTATION INFORMATION (See: /Users/thbar/.asdf/plugins/erlang/kerl-home/builds/asdf_25.3.2.5/otp_build_25.3.2.5.log)
* documentation :
* fop is missing.
* Using fakefop to generate placeholder PDF files.
Build failed.
5 warnings generated.
LD ../priv/aarch64-apple-darwin22.3.0/wxe_driver.so
ld: warning: dylib (/opt/homebrew/lib/libpng16.16.dylib) was built for newer macOS version (13.0) than being linked (12.0)
ld: warning: dylib (/opt/homebrew/lib/libjpeg.8.dylib) was built for newer macOS version (13.0) than being linked (12.0)
ld: file not found: /opt/homebrew/opt/libtiff/lib/libtiff.5.dylib for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [../priv/aarch64-apple-darwin22.3.0/wxe_driver.so] Error 1
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2
Please see /Users/thbar/.asdf/plugins/erlang/kerl-home/builds/asdf_25.3.2.5/otp_build_25.3.2.5.log for full details.
Removing all artifacts except the logfile
(Use KERL_AUTOCLEAN=0 to keep build on failure, if desired)
Cleaning up compilation products for asdf_25.3.2.5
Cleaned up compilation products for asdf_25.3.2.5 under /Users/thbar/.asdf/plugins/erlang/kerl-home/builds
I am on 13.2.1.
what fixed this for me was running brew install wxwidgets
Closing as I don't think there is anything we can improve in asdf-erlang for this.
I am trying to install erlang
26.0.2
when I run
asdf install erlang
I get the following resultI have the most up to date version of kerl installed with homebrew.
I get the same issue when trying to install any version of erlang version 24 or up.
I am on MacOS Ventura 13.5