First, check your physical hosts for socket counts. You can find it on the vCenter.
- Select host
- Click on Summary
- Expand the Hardware Window
- Click on CPU
- Navigate to Sockets
If you have two sockets, you will need licenses for two sockets.
While creating a VM, choose an equal or smaller socket as you have in your physical hardware.
I hope this helps.