Open mslinn opened 6 years ago
I've been faced with this also just at the same time ;)
First: No idea which version you are using exactly, but the current version of macOS (10.12) includes a readlink
which also cannot handle -f
. So not only issue for older systems, so far.
Second: Although the pr #59 would fix this here, there are several other places which are using readlink -f
(https://github.com/jvm-profiling-tools/perf-map-agent/search?utf8=%E2%9C%93&q=readlink+-f&type=)
If the fix works for everyone, great, I hope my PR gets adopted. I expect my approach could be used to fix all the other readlink problems you have encountered. I'm not going to take that on, however.
My old version of MacOS does not support the
readlink -f
option. I do not know if newer versions of MacOS support this option.