Building go application with jemalloc errors out

I was unable to resolve the issue on Rhel 7. I haven’t tried it on MacOS.