jl_load update for 1.0

I’m currently writing code in C++ that calls a module I wrote in Julia. It seems that since Julia 0.6 there’s been a change to the way jl_load is treated. It initially took one argument, namely the filename (or path to file) of the module. Now, it seems to take two arguments and requires the typedef jl_value_t*. I made the following changes, however, I am now experiencing a linker error on the C side: clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation). Can I get some info on how the new jl_load function is to be invoked? An example would be great.

Thanks.