Using a symlink for erl script

I thought the move to the erl script using dyn_erl was to resolve relocatable installation issues but I found use of a symlink for erl not working still.

Does erl not use readlink to get the directory of the script because its not available on some system it has to support?

When erl is a symlink it is stil depending on a hardcoded, during installation, ROOTDIR in the script to work because progdir=dirname “${prog}”`` returns the directory of the link and not the actual script. Meaning:

dyn_erl_path="${progdir}/../erts-13.0.4/bin/dyn_erl"

is not found.

1 Like