2023.01.16 10:46 AM
Hi all ,
I have been trying to install kdb+ using the steps on the website https://code.kx.com/q/learn/install/ but I have been unsuccessful. To start off, the spctl and xattr commands don't work. Secondly I realized I may have the wrong q build since I am using M1. I couldn't find a version compatible with arm64 on the website and there's only one default version for Mac.
Any help would be much appreciated . Thank you !
2023.01.17 03:37 AM
There is a note on this page which will be of help
https://code.kx.com/q/learn/install/#step-4-confirm-success
"If the spctl
and xattr
commands above have not authorized the OS to run q, open System Preferences > Security & Privacy.
You should see a notification that q has been blocked – and a button to override the block.
2023.01.20 02:13 AM
I am having the same issue on M1 Pro. During step 4, when I run command q/m64/q, I get error
"q" is damaged and can't be opened. You should move it to the Bin.
Running spctl --add q/m64/q also gives an error:
q/m64/q: invalid API object reference
2023.01.20 02:19 AM
q may have been quarantined by the OS. Can you try to run :
xattr -d com.apple.quarantine path/to/m64/q
2023.07.27 08:44 AM
Hi, I have the same problem as @shintensei .
when running spctl --add q/m64/q, it gives an error:
q/m64/q: invalid API object reference
and when I try the code in your response
xattr -d com.apple.quarantine path/to/m64/q
another error came up:
xattr: No such file: path/to/m64/q
do you know how to solve this? 😭 really appreciate if you can help.
2023.07.27 08:47 AM
if I change the path with my own one, the error is:
xattr: /Users/zhangboran/Desktop/未命名/m64/m64/q: No such xattr: com.apple.quarantine
2023.01.20 02:43 AM
Confirming that xattr command has resolved the issue. Thank you
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.