Failed to load Cairo
Posted
by
Ruben
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Ruben
Published on 2013-10-29T17:13:08Z
Indexed on
2013/10/31
10:21 UTC
Read the original article
Hit count: 2623
We're running a Ubuntu Server VM with OpenCPU (that's an API for R). Unfortunately we're unable to get the Cairo R package to play, the error message (from within R) is as follows:
unable to load shared object '/usr/lib/R/library/grDevices/libs//cairo.so': /usr/local/lib/libgmodule-2.0.so.0: undefined symbol: g_rec_mutex_lock 2: In png() : failed to load cairo DLL
We've tried purging and reinstalling cairo and libcairo and we both tried building the Cairo R package from source as well as using a precompiled version from Michael Rutter's ppas (all seems to work without errors).
Unfortunately none of us are real Ubuntu natives and thus we probably did some pretty amateur debugging. Any push in the right direction would be very appreciated. For example, we couldn't figure out how to reinstall whatever libgmodule refers to.
© Ask Ubuntu or respective owner