Closed lidefi87 closed 6 months ago
looks like a conflict from anaconda with the system library. If you are using anaconda so you probably need to install R packages using the conda forge pkg: https://anaconda.org/conda-forge/r-rsvg
I have anaconda installed but I don't use it to manage R packages, only Python packages. Would this solution still work? I'm using a virtual machine and I really don't want to break my current set up
From your output we can see the problem is a conflict between librsvg2 headers and your miniconda3. So it seems you are using miniconda to run R.
If you want to use the librsvg2 from your operating system, you have to use install R from that distro, for example as described here: https://cran.r-project.org/bin/linux/
OTOH, if you use anaconda R, then you probably need the anaconda build of the R package.
Thanks for the extra info. I should probably get in touch with the people running the virtual machine if the information in the link you shared does not work.
Thanks again.
Hi there! I am trying to install the
rsvg
package in Linux (Ubuntu). I followed the instructions in your README page, that is I installedlibrsvg2
before installing rsvg, but I still cannot install it. I get this error:I looked at #14 but I still cannot manage to understand where I am going wrong.
Below, I am including some information you requested in the issue I mentioned above:
pkg-config --libs librsvg-2.0
returns-lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo
which pkg-config
returns/usr/bin/pkg-config
pkg-config --variable pc_path pkg-config
returns/usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
env | grep PKG_CONFIG
returns nothingpkg-config --list-all
prints the followingAny ideas on what may be going wrong?