While loading the Spirent TestCenter package via tclsh shell we encountered below error
% package require SpirentTestCenter
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Abort (core dumped)
This was observed on multiple Linux machine
The above Error indicates that mongod is unable to work with your operating system's current locale.
To resolve this, you might need to setup your locale for LC_ALL=
First, we need to know what you have right now, open terminal and write:
You will see something like:
As you see, you are missing language for LC_ALL
You can try to write in terminal:
Try import Package require Spirent TestCenter on tclsh to verify.
Set environment variable as below: