GMT 6.1.1 compiled and was built without any difficulties.
However when I try to run a program I get the following error message:
gmt [ERROR]: Failure while loading core GMT shared library: No such file or directory
This message is generated more or less first thing when the program starts. It would be good to know what it is not finding.
gmt-config also generates the same error message (4 times) before printing the usage message.
The PATH has been set using gmtswitch and points to the correct bin folder:
$ echo $PATH
Any help or hints would be greatly appreciated.