My first two things to check would be:

You are using the libraries (.so) and headers from the exact same PyTorch distribution?
Do you have C++ -ABI compatibility between the compiler used to compile PyTorch and yours? (i.e. try -D_GLIBCXX_USE_CXX11_ABI=0 as in the linked post)

Note that it appears to find the torch::jit::load all right, but that in turn needs C10 functions that it doesn’t find.
Best regards
Thomas