Linker error LNK2038: mismatch detected in Release mode

Your app is being compiled in release mode, but you’re linking against the debug version of PCRE, which had /MTd (or similar) set, thus causing the mismatch in iterator debugging level in the CRT. Recompile PCRE in release mode to match your own application. The detect_mismatch pragma in VS 2010 is what causes this error … Read more

Compile a Standalone Static Executable

Use the following flags for linking -static -static-libgcc -static-libstdc++ Use these three flags to link against the static versions of all dependencies (assuming gcc). Note, that in certain situation you don’t necessarily need all three flags, but they don’t “hurt” either. Therefore just turn on all three. Check if it actually worked Make sure that … Read more

How to fix symbol lookup error: undefined symbol errors in a cluster environment

After two dozens of comments to understand the situation, it was found that the libhdf5.so.7 was actually a symlink (with several levels of indirection) to a file that was not shared between the queued processes and the interactive processes. This means even though the symlink itself lies on a shared filesystem, the contents of the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)