Solved the problem with COMMON sections in Arpack-NG being incompatible with C linking.