unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: arnaud.lechevallier@free.fr
To: 57417@debbugs.gnu.org
Subject: bug#57417: Emacs crashes due to symbol lookup error to rsvg_handle_set_stylesheet
Date: Thu, 10 Nov 2022 19:13:27 +0100 (CET)	[thread overview]
Message-ID: <1825883117.357009617.1668104007933.JavaMail.root@zimbra81-e14.priv.proxad.net> (raw)
In-Reply-To: <588215250.356998251.1668103819659.JavaMail.root@zimbra81-e14.priv.proxad.net>

Hi there,

I'm facing the same issue from a fresh 1.3 installation I did on a VM. 
Emacs28.2 is linked against librsvg-2.40.21 which do not provide rsvg_handle_set_stylesheet function.

altomcat@guix ~/.config$ libtree /gnu/store/jpi4h6afvkifypxjxdpgrdm4shnmavwf-emacs-28.2/bin/.emacs-28.2-real | grep rsvg
│   │   │           ┊    /gnu/store/3r3sxc1ywqs93rzj4z46p0cbdy1y1x7m-librsvg-2.40.21/lib
├── librsvg-2.so.2 [LD_LIBRARY_PATH]
│       ┊    /gnu/store/3r3sxc1ywqs93rzj4z46p0cbdy1y1x7m-librsvg-2.40.21/lib
│       ┊    /gnu/store/3r3sxc1ywqs93rzj4z46p0cbdy1y1x7m-librsvg-2.40.21/lib
Error [/gnu/store/jpi4h6afvkifypxjxdpgrdm4shnmavwf-emacs-28.2/bin/.emacs-28.2-real]: Not all dependencies were found

altomcat@guix ~/.config$ echo $LD_LIBRARY_PATH
/gnu/store/piln05qmyhyiqb3ggn2hvz1wagzvd8mc-gdk-pixbuf+svg-2.40.0/lib:/gnu/store/cydnixdcrvlizpcz3jkas5vpgd2dmd5z-gnome-bluetooth-3.34.2/lib:/gnu/store/3r3sxc1ywqs93rzj4z46p0cbdy1y1x7m-librsvg-2.40.21/lib:/gnu/store/8902rzyhkzs30c8z9xjkmmdrh2dq1ha7-libgweather-3.34.0/lib

Emacs runs well if I insert the path of librsvg-2.50.7 to LD_LIBRARY_PATH as follow

export  LD_LIBRARY_PATH=/gnu/store/34yxh2p22yaiisb1ayp43ig06hdlj0wg-librsvg-2.50.7/lib:$LD_LIBRARY_PATH

I checked the package definition with `guix edit emacs`
...
           ;; When looking for libpng `configure' links with `-lpng -lz', so we
           ;; must also provide zlib as an input.
           libpng
           zlib
           (if (target-x86-64?)
               librsvg-bootstrap
               librsvg-2.40) => need to be change ?
           libxpm
           libxml2
...

I'm a newbie and I hope these details can help. I would appreciate a little help to go further and solve this issue.
Thanks.




  parent reply	other threads:[~2022-11-10 18:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-25 19:12 bug#57417: Emacs crashes due to symbol lookup error to rsvg_handle_set_stylesheet grokking Stuff
2022-08-26 15:41 ` Liliana Marie Prikler
     [not found] ` <588215250.356998251.1668103819659.JavaMail.root@zimbra81-e14.priv.proxad.net>
2022-11-10 18:13   ` arnaud.lechevallier [this message]
2022-11-10 22:31     ` Maxime Devos
2022-11-11  7:56       ` arnaud.lechevallier
2022-11-11 16:00         ` Maxime Devos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1825883117.357009617.1668104007933.JavaMail.root@zimbra81-e14.priv.proxad.net \
    --to=arnaud.lechevallier@free.fr \
    --cc=57417@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).