I am currently running Ubuntu Server 20.04.3 with GUI installed, on a virtual machine running on a Mac with the latest M1 Pro chip.
I would like to install librsvg
package with version 2.52.5, and the current version of librsvg is shown below:
$ apt show librsvg2-dev
Package: librsvg2-dev
Version: 2.48.9-1ubuntu0.20.04.1
Priority: optional
Section: libdevel
Source: librsvg
Origin: Ubuntu
I downloaded the source of the latest version from this link, and did the following:
$ ./configure
$ sudo make install
However, there was an error indicating that object name conflicts:
make install-recursive
make[1]: Entering directory '/home/root/packages/librsvg-2.52.5'
Making install in .
make[2]: Entering directory '/home/root/packages/librsvg-2.52.5'
CCLD librsvg-2.la
libtool: error: object name conflicts in archive: .libs/librsvg-2.lax/librsvg_c_api.a//home/root/packages/librsvg-2.52.5/./.libs/librsvg_c_api.a
make[2]: *** [Makefile:818: librsvg-2.la] Error 1
make[2]: Leaving directory '/home/root/packages/librsvg-2.52.5'
make[1]: *** [Makefile:1078: install-recursive] Error 1
make[1]: Leaving directory '/home/root/packages/librsvg-2.52.5'
make: *** [Makefile:1383: install] Error 2
I thought it might due to the previously installed librsvg package, so I removed such package and I resulted in losing the GUI. I tried to execute the previous two-line commands one more time, but same error occurred.
Below are my questions:
- May I know what is the intuitive way to solve the problem like this?
- What it is that caused such conflict?
- How to solve such conflict issue?
Thanks in advance!