We'd have to introduce a function `jl_load_and_lookup(libname, funcname, libptrgv)`.