Search code examples
kdb+k

kdb q: find the C libraries it loads


I have this line of code:

loadedFunc: `:mylib 2:(`myfunc;1)

so from the kdb/q reference., it means loading "my func", which has one argument from the dynamic library with name mylib .

Where is the path can I locate this physical library of mylib? I don't see any path specified elsewhere..


Solution

  • The default path is set as mentioned here

    It will attempt to load from the current working directory (as \pwd ) first.

    If it doesn't find the appropriate library there, then it will attempt to load from the $QHOME/[installationType] directory (so C:/q/w32 by default for Windows 32bit, etc.)