2 ms·
True statically compiled Linux binaries for complex applications are surprisingly hard; libnss insists on dynamically loading, and libstdc++ doesn't like it eit
by pjc50 12y ago
True statically compiled Linux binaries for complex applications are surprisingly hard; libnss insists on dynamically loading, and libstdc++ doesn't like it either. I think we ended up with unpleasant RPATH hacks to load the copy of the standard libraries that shipped alongside the app rather than the system ones.
- sanderjd 12y agoInteresting! Thanks for the info. I've never run into trouble myself, but I've never tried to link a go application to libnss or libstdc++.