license error: k4.lic personal edition

https://learninghub.kx.com/forums/topic/license-error-k4-lic-personal-edition

I've downloaded m64 version on Mac:

I have kc.lic file in m64 folder, the same with q.k :


(base) MacBook-Air-2:m64 xaffhfss$ ./q

KDB+ 4.1 2024.07.08 Copyright (C) 1993-2024 Kx Systems

m64/ 4()core 8192MB jffhfss macbook-air-2.local 127.0.0.1

'license error: k4.lic

(base) MacBook-Air-2:m64 xaffhfss$ ls

q

(base) MacBook-Air-2:m64 xaffhfss$ cdc .

-bash: cdc: command not found

(base) MacBook-Air-2:m64 xaffhfss$ cd ..

(base) MacBook-Air-2:m64 xaffhfss$ ls

kc.lic m64 q.k

(base) MacBook-Air-2:m64 xaffhfss$

Do you have the QHOME environment variable set to the directory with the license file?

Install instructions: https://code.kx.com/q/learn/install/

Licencing specifics: https://code.kx.com/q/learn/licensing/


Your folder structure should look similar to:

$ tree ~/q
/home/user/q
├── m64
│ └── q
├── kc.lic
└── q.k

And you'd set:

export QHOME="/home/user/q"

Thanks that worked.

But in my command it was actually export QHOME="/Users//q"

echo "$QHOME"

/Users//q