2: Dynamic Load¶
Load C shared objects
fs 2: (cfn;rnk) 2:[fs;(cfn;rnk)]
returns a function that calls it.
Suppose we have a C function in
cpu.so with the prototype
K q_read_cycles_of_this_cpu(K x);
assign it to
If the shared library, as passed, does not exist, kdb+ will try to load it from
os is the operating system and architecture acronym, e.g.
If using a relative path which does not resolve to reside under
$QHOME/os, ensure that
LD_LIBRARY_PATH contains the required absolute search path for that library. (On Windows, use
PATH instead of