How to load a DSO from within an engine? I call DSO_load(NULL, "mylibname", NULL, 0);
The code path I debugged is as follows: #0 DSO_ctrl (dso=0x48ab98, cmd=2, larg=0, parg=0x0) at dso_lib.c:338 #1 0x2abb9c90 in DSO_load (dso=0x0, filename=0x2ae00888 "mylibname", meth=0x0, flags=0) at dso_lib.c:209 DSO_load allocates a new DSO and assigns meth if I passed in the DSO_load function, if not it uses a default method. When I tested, it used DSO_method_dlfcn. The code goes further and calls DSO_ctrl, as the stack shows above. In DSO_ctrl, the function returns UNSUPPORTED error since the DSO_method_dlfcn has not defined dso->meth->dso_ctrl function pointer. Based on this code path, what is the step I'm missing to use DSO_load correctly? This load failure seems to have nothing to do with the library itself. Thanks, Piras