call readlink binary with absolute path to get ipkg version