Forum Replies Created

  • voiddump

    Member
    January 17, 2024 at 12:00 am in reply to: Selecting date from table

    Thanks for helping! I tried but it still returns error message. I’ve attached a snapshot of what my table looks like.

    Also I’m considering changing the name of the columns, which may sidestep this problem, I guess? But I don’t know how to change the name. ChatGPT told me to use

    test: ( `date `WindCode `close `amount `Volume) set test

    However, this doesn’t change the headings, they’re still

    `TRADE_DT `S_INFO_WINDCODE `S_DQ_CLOSE `S_DQ_AMOUNT `S_DQ_VOLUME

  • voiddump

    Member
    January 17, 2024 at 12:00 am in reply to: How to address ‘..appy libs required to decompress .

    Thanks for this! I’ve successfully installed MacPorts and snappy, however it still shows this error message. I suppose the path of Snappy might be wrong or unaccessible by KDB+. Is it so? How can I change the path?

     

  • voiddump

    Member
    January 17, 2024 at 12:00 am in reply to: How to address ‘..appy libs required to decompress .

    Thank you so much! I’ve addressed the problem.

    After continuous chats with GPT, I finally put Snappy in the right place. If anyone also encounters this problem, this is the solution given by GPT:

     

    1. **Verify Library Path:**
    Ensure that the directory containing the `libsnappy.dylib` library is in the system’s library path. You can add the directory to the library path by setting the `DYLD_LIBRARY_PATH` environment variable in your shell profile or script.export?DYLD_LIBRARY_PATH=/path/to/snappy/lib:$DYLD_LIBRARY_PATH

     

    2.**Check Your Snappy Place**:

    Type in the following code in the terminal:

    ”’

    port contents snappy

    ”’

    Mine returns:

    Port snappy contains:

      /opt/local/include/snappy-c.h

      /opt/local/include/snappy-sinksource.h

      /opt/local/include/snappy-stubs-public.h

      /opt/local/include/snappy.h

      /opt/local/lib/cmake/Snappy/SnappyConfig.cmake

      /opt/local/lib/cmake/Snappy/SnappyConfigVersion.cmake

      /opt/local/lib/cmake/Snappy/SnappyTargets-macports.cmake

      /opt/local/lib/cmake/Snappy/SnappyTargets.cmake

      /opt/local/lib/libsnappy.1.1.10.dylib

      /opt/local/lib/libsnappy.1.dylib

      /opt/local/lib/libsnappy.dylib

    So the path is /opt/local/lib/

    3. **Restart KDB+:**
    Restart your KDB+ session to apply the changes. Type in following codes:

    ”’
    cd /your/path/to/the/installation/of/kdb
    spctl –add q/m64/q
    xattr -d com.apple.quarantine q/m64/q
    DYLD_LIBRARY_PATH=/opt/local/lib ./q/m64/q

    ”’

    You can change the /opt/local/lib in the ‘DYLD_LIBRARY_PATH=’ to your path of the Snappy.

    This should solve the problem.

  • voiddump

    Member
    January 16, 2024 at 12:00 am in reply to: Getting License error

    I changed the QHOME to /voiddump/q and it works! Thank you so much!

  • voiddump

    Member
    January 16, 2024 at 12:00 am in reply to: How to address ‘..appy libs required to decompress .

    Uhm…Sorry I’m new to Github. I followed the links but I’m not quite sure what to do next. Do I choose one of these to download?

  • voiddump

    Member
    January 16, 2024 at 12:00 am in reply to: How to address ‘License error: k4.lic’ during installation?

    I changed the QHOME to /voiddump/q and it works! Thank you so much!

  • voiddump

    Member
    January 15, 2024 at 12:00 am in reply to: Getting License error

    I tried multiple ways on my MacBook Pro and my VMFusion (whose environment supposedly is windows 11) but my issue is not resolved. My folder structure is as below: (The first is that on Mac, the second&third is that on VMFusion).

    P.S. I would prefer KDB+ be installed on my Mac instead of on my VMFusion, if possible. But I would also really appreciate it if someone tell me how to solve the problem on my VMFusion.

  • voiddump

    Member
    January 15, 2024 at 12:00 am in reply to: Issue with kdb+ License File (kc.lic) – Seeking Help

    I tried multiple ways on my MacBook Pro and my VMFusion (whose environment supposedly is windows 11) but still the error message ‘Licence error: k4.lic’ persists. My folder structure is as below: (The first is that on Mac, the second&third is that on VMFusion).

    P.S. I would prefer KDB+ be installed on my Mac instead of on my VMFusion, if possible. But I would also really appreciate it if I can solve the problem on my VMFusion.