• Error with librsvg after update


    I updated my system yesterday (pacman -Syu), and now I am having issues launching some program. For example, trying to launch either emacs or rofi fails with the following error message

    symbol lookup error: /usr/lib/librsvg-2.so.2: undefined symbol: cairo_tag_begin

    The file /usr/lib/librsvg-2.so.2 is a symlink to librsvg-2.so.2.42.3, which was modified at the time I did my system update yesterday.

    Trying to reinstall librsvg (pacman -S librsvg), does not fail but spits out the following error during the install

    (1/2) Probing GDK-Pixbuf loader modules...
    g_module_open() failed for /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /usr/lib/librsvg-2.so.2: undefined symbol: cairo_tag_begin
    (2/2) Arming ConditionNeedsUpdate...
    

    Any ideas what I can do to resolve this and be able to launch emacs and rofi again?

    (I also posted this on the Arch Forums, but was told that they don’t help people who run Arch through Antergos )

  • @cheflo
    Hi!
    My system is also just updated and emacs runs without such errors.
    So the reason must be something else.
    You could run

    sudo pacman -Syyu
    

    if that resolves something.
    If not, could you show the output of

    pacman -Qm
    

    Please report issues including all details! ;-)
    Show files here: cat "file" | curl -F [email protected] https://ptpb.pw/?u=1
    and show the URL.

  • Do you have some additional cairo package installed, like cairo-dock?

    Please report issues including all details! ;-)
    Show files here: cat "file" | curl -F [email protected] https://ptpb.pw/?u=1
    and show the URL.

  • Or could you show this output:

    ls -l /usr/lib/librsvg*
    

    Please report issues including all details! ;-)
    Show files here: cat "file" | curl -F [email protected] https://ptpb.pw/?u=1
    and show the URL.

  • Thanks for the help!
    I noticed that I have cairo-ubuntu installed. I installed this a long time ago to help with font rendering. Removing this package and replacing it with cairo fixes the issue, thank you! Fingers crossed fonts still look good after restart…

  • Unfortunately, not using cairo-ubuntu does cause problems with the rendering of Ubuntu fonts, see https://forum.antergos.com/topic/9371/how-to-make-ubuntu-mono-look-good-in-terminal-without-cairo-ubuntu

error276 librsvg1 Posts 6Views 619
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.