I’m writing a program that has two libraries that I need to use: v8, and v8-juice. Unfortunately, v8-juice can’t be compiled as a static library due to some stuff it does with templates. There’s some other quirks with it that require v8 to be compiled as a shared object as well.
So, when I compile my program, I end up having two shared objects that are needed for the executable to run. My question is, is there a way I can include these shared objects without installing them under linux? Sorry if it’s a newbish question, I’m fairly new to C++.
Shared libraries can be in the same folder as your executable. man ld.so: