in reply to error due to a module

Typical LD_LIBRARY_PATH deal (if you compiled/linked that library/c-module successfully, those "modules" were present ... they weren't in the path ) ... so see advice Re^3: DBD::mysql fail install check (DYLD_LIBRARY_PATH ldd otool install_name_tool VERSIONER_PERL_PREFER_32_BIT .bundle/.dylib/.so