############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL SNPRelate ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library’ * installing *source* package ‘SNPRelate’ ... ** this is package ‘SNPRelate’ version ‘1.41.0’ ** using staged installation ** libs using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c ConvToGDS.cpp -o ConvToGDS.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_SNPRelate.c -o R_SNPRelate.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c SNPRelate.cpp -o SNPRelate.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c ThreadPool.cpp -o ThreadPool.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c dGenGWAS.cpp -o dGenGWAS.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c dVect.cpp -o dVect.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c genBeta.cpp -o genBeta.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c genEIGMIX.cpp -o genEIGMIX.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c genFst.cpp -o genFst.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c genHWE.cpp -o genHWE.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c genIBD.cpp -o genIBD.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c genIBS.cpp -o genIBS.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c genKING.cpp -o genKING.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c genLD.cpp -o genLD.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c genPCA.cpp -o genPCA.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DUSE_FC_LEN_T -I. -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/gdsfmt/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c genSlideWin.cpp -o genSlideWin.o clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o SNPRelate.so ConvToGDS.o R_SNPRelate.o SNPRelate.o ThreadPool.o dGenGWAS.o dVect.o genBeta.o genEIGMIX.o genFst.o genHWE.o genIBD.o genIBS.o genKING.o genLD.o genPCA.o genSlideWin.o -lpthread -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/14.2.0 -L/opt/gfortran/lib -lemutls_w -lheapt_w -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation ld: warning: directory not found for option '-L/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/14.2.0' ld: library not found for -lemutls_w clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [SNPRelate.so] Error 1 ERROR: compilation failed for package ‘SNPRelate’ * removing ‘/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/SNPRelate’