# How to address 'License error: k4.lic' during installation?

**URL:** <https://forum.kx.com/t/how-to-address-license-error-k4-lic-during-installation/13332>\
**Category:** Community Support\
**Tags:** imported, kdb-and-q\
**Created:** [January 15, 2024, 12:00am UTC](https://forum.kx.com/t/how-to-address-license-error-k4-lic-during-installation/13332 "2024-01-15T00:00:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![voiddump](https://avatars.discourse-cdn.com/v4/letter/v/d2c977/32.png) [@voiddump](https://forum.kx.com/u/voiddump)\
**Post date:** [January 15, 2024, 12:00am UTC](https://forum.kx.com/t/how-to-address-license-error-k4-lic-during-installation/13332/1 "2024-01-15T00:00:00Z")

</div>

[https://learninghub.kx.com/forums/topic/how-to-address-license-error-k4-lic-during-installation](https://learninghub.kx.com/forums/topic/how-to-address-license-error-k4-lic-during-installation)

I tried multiple ways on my MacBook Pro and my VMFusion (whose environment supposedly is windows 11) still the error message ‘License error: k4.lic’ persists.

My folder structure is as below: (The first is that on Mac, the second&third is that on VMFusion).

&nbsp;

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.

---

<div class="post-metadata">

**Author:** ![rocuinneagain](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/rocuinneagain/32/287_2.png) [@rocuinneagain](https://forum.kx.com/u/rocuinneagain)\
**Post date:** [January 15, 2024, 12:00am UTC](https://forum.kx.com/t/how-to-address-license-error-k4-lic-during-installation/13332/2 "2024-01-15T00:00:00Z")

</div>

Copying my reply from under your request on a different thread:

[Re: Getting License error - KX Community - 13316](https://community.kx.com/t5/kdb-and-q/Getting-License-error/m-p/15523#M12156")

&nbsp;

First image looks fine for QHOME=/voiddump/q/m64

&nbsp;

More traditional structure would be to not have that extra level of m64

.i.e

- voiddump/q/kc.lic
- voiddump/q/q.k
- voiddump/q/m64/q

In that case you'd use QHOME=/voiddump/q

Your Windows VM screenshots are incorrect:

You have `q/w64/w64/q` it should be `q/w64/q`

---

<div class="post-metadata">

**Author:** ![voiddump](https://avatars.discourse-cdn.com/v4/letter/v/d2c977/32.png) [@voiddump](https://forum.kx.com/u/voiddump)\
**Post date:** [January 16, 2024, 12:00am UTC](https://forum.kx.com/t/how-to-address-license-error-k4-lic-during-installation/13332/3 "2024-01-16T00:00:00Z")

</div>

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