Update of RPostGreSQL to version 0.7-8 failed with the following output. Apparently a problem with `__imp_CertFindCertificateInStore'. Any suggestions on how I can fix this? Thanks in advance for any suggestions.
Larry Hunsicker
....
gcc -shared -s -static-libgcc -o RPostgreSQL.dll tmp.def RS-DBI.o RS-PQescape.o RS-PostgreSQL.o RS-pgsql-copy.o RS-pgsql-getResult.o RS-pgsql-pqexec.o RS-pgsql-pqexecparams.o -L/lib -lpq -lpgcommon -lpgport -lssl -lcrypto -lm -lssl -lcrypto -lz -lpthread -lshell32 -lws2_32 -lsecur32 -LC:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools44/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA~1/R/R-44~1.3/bin/x64 -lR
C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcrypto.a(libdefault-lib-winstore_store.obj):winstore_store:(.text+0x64): undefined reference to__imp_CertFreeCertificateContext' C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcrypto.a(libdefault-lib-winstore_store.obj):winstore_store:(.text+0x86): undefined reference to
__imp_CertCloseStore'
C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcrypto.a(libdefault-lib-winstore_store.obj):winstore_store:(.text+0x137): undefined reference to__imp_CertOpenSystemStoreW' C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcrypto.a(libdefault-lib-winstore_store.obj):winstore_store:(.text+0x14f): undefined reference to
__imp_CertFreeCertificateContext'
C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcrypto.a(libdefault-lib-winstore_store.obj):winstore_store:(.text+0x372): undefined reference to__imp_CertFindCertificateInStore' C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcrypto.a(libdefault-lib-winstore_store.obj):winstore_store:(.text+0x5fa): undefined reference to
__imp_CertFreeCertificateContext'
C:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcrypto.a(libdefault-lib-winstore_store.obj):winstore_store:(.text+0x66f): undefined reference to `__imp_CertFindCertificateInStore'
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'RPostgreSQL'
- removing 'C:/Larry/R/win-library/4.4/RPostgreSQL'
Warning in install.packages :
installation of package ‘RPostgreSQL’ had non-zero exit status