LibStatGen Troubleshooting
Possible Compile Errors
The following are a list of compile errors that have been encountered with recommendations on what they mean and how to fix them.
GenomeSequence.h:30:57: error: openssl/md5.h: No such file or directory
GenomeSequence requires md5 logic and makes calls to methods defined in md5.h which is found in the openssl library.
The header files are included in the development version of the package.
The package may be called something like: openssl-devel or libssl-dev (on ubuntu).
Validate.cpp:22:21: error: SamFile.h: No such file or directory
This error and other, similar errors with "Sam....h: No such file or directory" or "'Sam...' has not been declared" typically means that the library build failed. Check for a previous error in your compile.
A successful compile of the library will publish SamFile.h and all the other header files from the library into samtools/lib/include. If one of the programs within the statgen repository fails to compile with one of these errors, then the library did not successfully publish the header files and did not successfully byild.