auCDtect is a useful too used to check the the validity of lossless files. The regular tar packaged version does not work without tweaking by installing old compat libs which are not always available on some Linux systems.
Here are static compiled binaries for both Linux and Windows based systems. On Linux Copy it to /usr/bin and it should run fine. So far it has run on all versions of ubuntu from 10.xx upwards. auCDtect is a command line driven tool. For those that prefer a GUI based tool you can use LAC (Lossless Audio Checker).