KX Community

Find answers, ask questions, and connect with our KX Community around the world.

Home Forums kdb+ Installation for ARM64

  • Installation for ARM64

    Posted by diamondcorp on January 16, 2023 at 12:00 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 !

    diamondcorp replied 1 month ago 3 Members · 3 Replies
  • 3 Replies
  • rocuinneagain

    Member
    January 17, 2023 at 12:00 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.

     Safely open apps on your Mac”

  • shintensei

    Member
    January 20, 2023 at 12:00 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

  • rocuinneagain

    Member
    January 20, 2023 at 12:00 am

    q may have been quarantined by the OS. Can you try to run :

    xattr -d com.apple.quarantine path/to/m64/q

     

  • shintensei

    Member
    January 20, 2023 at 12:00 am

    Confirming that xattr command has resolved the issue. Thank you

Log in to reply.