Asdf-erlang: ln: failed to create symbolic link './erl_call': File exists

Created on 2 Aug 2020  路  4Comments  路  Source: asdf-vm/asdf-erlang

I'm running into an issue where I cannot use the erlang I just compiled and installed. Here's the output,

$ asdf install erlang 23.0
Downloading OTP-23.0.tar.gz to /home/miles/.asdf/plugins/erlang/kerl-home/archives
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   120  100   120    0     0    182      0 --:--:-- --:--:-- --:--:--   182
100 53.7M    0 53.7M    0     0  7392k      0 --:--:--  0:00:07 --:--:-- 9647k
Extracting source code
Building Erlang/OTP 23.0 (asdf_23.0), please wait...
APPLICATIONS DISABLED (See: /home/miles/.asdf/plugins/erlang/kerl-home/builds/asdf_23.0/otp_build_23.0.log)
 * jinterface     : Java compiler disabled by user

DOCUMENTATION INFORMATION (See: /home/miles/.asdf/plugins/erlang/kerl-home/builds/asdf_23.0/otp_build_23.0.log)
 * documentation  :
 *                  xmllint is missing.
 *                  Using fakefop to generate placeholder PDF files.

Erlang/OTP 23.0 (asdf_23.0) has been successfully built
Installing Erlang/OTP 23.0 (asdf_23.0) in /home/miles/.asdf/installs/erlang/23.0...
You can activate this installation running the following command:
. /home/miles/.asdf/installs/erlang/23.0/activate
Later on, you can leave the installation typing:
kerl_deactivate
Cleaning up compilation products for
Cleaned up compilation products for  under /home/miles/.asdf/plugins/erlang/kerl-home/builds
ln: failed to create symbolic link './erl_call': File exists

I tried installing 23.0.3, same error. asdf info,

$ asdf
version: v0.7.8-4a3e3d6

Most helpful comment

I believe this issue has been fixed in the latest version of this plugin. See https://github.com/asdf-vm/asdf-erlang/issues/141.

Run asdf plugin-update erlang to upgrade.

All 4 comments

I believe this issue has been fixed in the latest version of this plugin. See https://github.com/asdf-vm/asdf-erlang/issues/141.

Run asdf plugin-update erlang to upgrade.

The comment from @Stratus3D fixed this for me.

I also had to remove asdf_23.0.3 /Users/nate/.asdf/installs/erlang/23.0.3 from ~/.asdf/plugins/erlang/kerl-home/otp_installations to get rid of ERROR: Installation (asdf_23.0.3) already registered for this location (/Users/nate/.asdf/installs/erlang/23.0.3) error on installation.

@ntodd I ran into the same issue you did, removed that line in ~/.asdf/plugins/erlang/kerl-home/otp_installations, and it worked.

Thanks! Closing.

Was this page helpful?
0 / 5 - 0 ratings