<div dir="ltr">I need to create a port driver which will need to link against some other shared library. When I try to load the driver I get an {error, {open_error, -10}}. I tracked this down to the call to the shared library functions. If I comment out the calls to the shared library it loads fine. It seems the erl_ddll loader cannot load a driver if it links to a shared library... Or maybe there is some other way to accomplish this? <br>In case I cannot create a normal dynamically loaded port driver, how can I statically link it to the erlang build?<br>Thanks,<br>D</div>