Licensing error -153 (When activating BricsCAD on macOS or Linux)

Symptoms

When trying to activate BricsCAD on macOS or Linux, error -153 appears.

Solution

Option 1
In a Terminal instance, run the following commands one by one:
sudo rm -rf /var/bricsys
sudo rm -rf /var/tmp/br*
sudo mkdir /var/bricsys
sudo chmod 777 /var/bricsys

Then try to activate again.

Option 2 (if Option 1 did not solve the issue)
Erase the following folders:

/var/bricsys

/var/tmp/bricsys

Then try to activate again.

Option 3 ( if option 1 and 2 do not solve the issue)
For macOS only, open a Terminal instance and run the following commands one by one:
sudo rm -rf /Library/Application\ Support/reprise
sudo mkdir /Library/Application\ Support/reprise
sudo chmod 777 /Library/Application\ Support/reprise

Then try to activate again.

Note: If the above solutions fail, activate your license manually. See the Single or volume license: offline (manual) activation article for more information.