This tool is used to measure your application's conformance to the LSB specification. The object format of the application is checked, as is the list of shared libraries used by the application, and the list of functions and global data used by the application. Warnings are produced for anything that is used, but not contained in the LSB specification.
# lsbappchk [-L /path/to/lib ] <appname>
Non-system shared libraries that are part of the applications package can be specified using the -L option. This option can be used as many times as needed, and will prevent lsbappchk from complaining about symbols which are provided in those shared libraries.
Appchk cannot detect all conformance problems. In particular, it is a static test and does not actually run the application. Appchk will not find any behaviors which show themselves only at run-time (for example, anything involving the File Hierarchy Standard, or constants and other such items which are found in header files).
There are executable packages of appchk at ftp://ftp.freestandards.org/pub/lsb/test_suites/beta/binary/application/.
To get the version of appchk which is currently under development, get the src/tests directory from CVS and whatever it depends on (curently src/include). Going to the src/tests directory and typing "make" should work (if you want appchk, you don't need to worry about whether the non-appchk parts of the build complete successfully).
lsbappchk(1) man page (distributed with appchk)