- Version: 6.3.1
- Platform:
Linux <hostname redacted> 3.13.0-87-generic #133-Ubuntu SMP Tue May 24 18:32:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
The ares.h file in the Node header distribution (the one that node-gyp downloads) contains symbols that are not dynamically exported by the Node binary. For example, ares_gethostbyname appears in that header file, but objdump -T $(which node) shows that that symbol appears nowhere in the dynamic symbol table. Because of this, I can build a native addon using that header without errors, but have it fail to find the symbol when I load it.
Linux <hostname redacted> 3.13.0-87-generic #133-Ubuntu SMP Tue May 24 18:32:09 UTC 2016 x86_64 x86_64 x86_64 GNU/LinuxThe
ares.hfile in the Node header distribution (the one that node-gyp downloads) contains symbols that are not dynamically exported by the Node binary. For example,ares_gethostbynameappears in that header file, butobjdump -T $(which node)shows that that symbol appears nowhere in the dynamic symbol table. Because of this, I can build a native addon using that header without errors, but have it fail to find the symbol when I load it.