Why won't WAVE run?

Here are a few things to check:

  1. The command used to run WAVE must be typed in lower case, as in `wave -r 100s -a atr'. Note that letters in record names and annotator names are also usually in lower case.

  2. Try typing wave with no command-line arguments. You should see a summary of options. If you don't, wave has not been installed properly, is not in your PATH, or another program named wave is in your PATH.

    Errors similar to `wave: can't load library 'libxview.so.3'' indicate an installation problem which is probably shared by other applications that use the same libraries. Use the command `ldd `which wave` to identify which dynamically linked libraries are missing. Locate these on your system (for example, using a command such as `find / -name libxview.so.3 -print'; if any of these libraries cannot be found on your system, it may be downloaded from PhysioNet.) Add the directories in which the missing libraries are found to your LD_LIBRARY_PATH. For example, if the missing libraries are located in /usr/openwin/lib, and you are using the C-shell, use the command `setenv LD_LIBRARY_PATH /usr/openwin/lib:${LD_LIBRARY_PATH}'. Under Linux, if you can obtain root permissions, simply add /usr/openwin/lib to the list of directories in `/etc/ld.so.conf', and then run ldconfig. This solves the problem permanently (well, at least until the next OS upgrade).

  3. If the previous test works, try typing `wave -r 100s -a atr'. (All WAVE distributions come with record 100s.) One of the following should happen:

George B. Moody (george@mit.edu)
2014-03-13