I am compiling a Node C++ Add-on using cmake-js. I have dynamic library I am referencing in my C code. I.e.:
*src
MyAddon.cpp
*foo
*include
*lib
*linux64
libfoo.so
That compiles fine. But I get an error when I run
How do I ensure libfoo.so is deployed in a way that it can be linked at runtime?
Adding to files in package.json, doesn't work. Can I set LD_LIBRARY_PATH in package.json?