在 Ubuntu 18.04 R 服务器上
install.packages("RMariaDB")
编译正常,然后失败
g++ -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o
RMariaDB.so DbConnection.o DbResult.o MariaBinding.o MariaResultImpl.o
MariaResultPrep.o MariaResultSimple.o MariaRow.o MariaTypes.o MariaUtils.o
RcppExports.o connection.o driver.o result.o -L/usr/lib/x86_64-linux-gnu/ -
lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
/usr/share/R/share/make/shlib.mk:6: recipe for target 'RMariaDB.so' failed
我想做什么?