[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32170: python-cairocffi error "dlopen() failed to load a library: ca
From: |
Ben Sturmfels |
Subject: |
bug#32170: python-cairocffi error "dlopen() failed to load a library: cairo / cairo-2" |
Date: |
Mon, 16 Jul 2018 17:35:18 +1000 |
User-agent: |
mu4e 1.0; emacs 26.1 |
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
signature.asc
Description: PGP signature
- bug#32170: python-cairocffi error "dlopen() failed to load a library: cairo / cairo-2",
Ben Sturmfels <=