I'm encountering an error when trying to load a rand.q kdb+ script from https://github.com/kxcontrib/optionpricing The error message is:
evaluation error: dlopen(/opt/homebrew/anaconda3/envs/kdb/q/m64/rand.so, 0x0002): tried: '/opt/homebrew/anaconda3/envs/kdb/q/m64/rand.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/anaconda3/envs/kdb/q/m64/rand.so' (no such file), '/opt/homebrew/anaconda3/envs/kdb/q/m64/rand.so' (no such file) [3] /Users/pooyac/Developer/KDB/BSModel/optionpricing/q/rand.q:1: sobolrand::rand 2:(sobolrand;2) /;1).
This error seems to be related to the rand.so file, which is not found in the expected location. I'm using a Homebrew-installed Anaconda environment for kdb+.
**MY DEVICE IS M2 MACBOOK**
My question is:
How can I fix this error and ensure that the rand.so file is loaded correctly? Is there a specific location where I should place this file, or are there any configuration settings I need to adjust?