unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32170: python-cairocffi error "dlopen() failed to load a library: cairo / cairo-2"
@ 2018-07-16  7:35 Ben Sturmfels
  2018-07-16 21:54 ` Danny Milosavljevic
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Sturmfels @ 2018-07-16  7:35 UTC (permalink / raw)
  To: 32170

[-- Attachment #1: Type: text/plain, Size: 988 bytes --]

Hi Folks,

I'm having problems running Python code that depends on the
"python-cairocffi" package. Running "from cairocffi._ffi import ffi" on
Trisquel 8 works fine, but on GuixSD I get:

$ guix environment --container --ad-hoc python cairo python-cairocffi
$ python3.6 -c "from cairocffi._ffi import ffi"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/ben/.guix-profile/lib/python3.6/site-packages/cairocffi/__init__.py", line 41, in <module>
    cairo = dlopen(ffi, 'cairo', 'cairo-2')
  File "/home/ben/.guix-profile/lib/python3.6/site-packages/cairocffi/__init__.py", line 38, in dlopen
    raise OSError("dlopen() failed to load a library: %s" % ' / '.join(names))
OSError: dlopen() failed to load a library: cairo / cairo-2

The background on this is that I use the Weasyprint PDF library from
PyPI and Weasyprint issues the above "from cairocffi._ffi import ffi".

I'm running GuixSD up-to-date with the latest master branch.

Regards,
Ben

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-07-17  5:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-16  7:35 bug#32170: python-cairocffi error "dlopen() failed to load a library: cairo / cairo-2" Ben Sturmfels
2018-07-16 21:54 ` Danny Milosavljevic
2018-07-17  5:41   ` Ben Sturmfels

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).