just a quick note about running any CVB application as root or with sudo.
Don’t! CVB is intended to be used as a normal user. Not as root. Neither with sudo.
CVB has several requirements for PATH and several CVB related environment variables.
… But sometimes sudo/root is neccesary.
So here are some solution hints:
- sudo: Run sudo with as “sudo -E” this will preserve the environment the sudoing user has.
- root: The CVB environment variables are stored in /etc/profile.d/cvb_environment.sh. Make sure that these exist in your root/sudo environment (for example: source /etc/profile.d/cvb_…). Check if anything is missing from PATH, which might be required. Same with LD_LIBRARY_PATH.
Hope this helps.