set linkname before chdir
0.0.16