在Ubuntu 18.04上安装RMariaDB

时间:2018-10-31 16:20:43

标签: r ubuntu-18.04 mariadb-connector-c

在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

我想做什么?

0 个答案:

没有答案