Errors when using asdf install - configure: error: No curses library functions found

No, Ubuntu version has nothing to do with this, they are dependencies of Erlang.