我正在研究 cairo 设备。我正在生成 cairo_pdf 并收到如下所示的错误消息。
cairo_pdf("DATA")
Warning messages:
1: In cairo_pdf("DATA") :
unable to load shared object '/usr/local/lib64/R/library/grDevices/libs//cairo.so':
/usr/local/lib64/R/library/grDevices/libs//cairo.so: undefined symbol: png_set_longjmp_fn
2: In cairo_pdf("DATA") : failed to load cairo DLL
我怎样才能解决这个问题?