From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <87k1pvbpl5.fsf@sturm.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feyKf-0001lZ-21 for bug-guix@gnu.org; Mon, 16 Jul 2018 03:54:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feyKZ-0006O2-Ed for bug-guix@gnu.org; Mon, 16 Jul 2018 03:54:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37247) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1feyKY-0006NY-Cy for bug-guix@gnu.org; Mon, 16 Jul 2018 03:54:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1feyKX-0001n9-Oa for bug-guix@gnu.org; Mon, 16 Jul 2018 03:54:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feyKI-0001ae-5Q for bug-guix@gnu.org; Mon, 16 Jul 2018 03:53:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feyKC-0006Eb-UO for bug-guix@gnu.org; Mon, 16 Jul 2018 03:53:46 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:42187) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1feyKB-0006DV-Pi for bug-guix@gnu.org; Mon, 16 Jul 2018 03:53:40 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 7F1F121C57 for ; Mon, 16 Jul 2018 03:53:37 -0400 (EDT) Received: from Marseille (203-214-132-4.perm.iinet.net.au [203.214.132.4]) by mail.messagingengine.com (Postfix) with ESMTPA id 34FD5E450F for ; Mon, 16 Jul 2018 03:53:35 -0400 (EDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 32170@debbugs.gnu.org --=-=-= Content-Type: text/plain 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 "", line 1, in File "/home/ben/.guix-profile/lib/python3.6/site-packages/cairocffi/__init__.py", line 41, in 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEPn825zvdanEG+SAhAjwF4snAaPAFAltMSrYACgkQAjwF4snA aPAnkQ/+KH702QCgDlbFiTOuUc/BpqKi6ce5pIiIFbNmUo+eCnjTQLQOk/yUod7c FqdosNjmoxLxGY6PZioUln+R11Btqf2+a/zxCATJbY1rEp3EvluqqZf9ArJb0ZE9 HVXJhuMwTeoH8Y6JORW30Exmtlh3o4u7Y6yy7oKm4dtWnwCV4Qm6m1ZwHClswj+T /1KCiFu+Hkpf2J8e39iHomu3+RhHpLa7Aw4fDwx6XusCahkX8bdkMGMbsUqXcuVG rX0EabCILRjBTQBs7AigMX59gqG8S+915lgg8mpB0uFJmgIhdqpSE9MxFi9h4Nx5 gl8Rqhr4q7fJISoB85xv3yBop4Pxa4xUCNVae3j8EUohGaNfdwQZfgQkkWa/jNEf 1IhfR8Q3jNjjsbj3gjkzpx5s3oEA/2fvoEwyaa6X/ZHEx5u4zo8DObp20LLMRuDF LOAA9gV3uYVS6IGvofIQNACN5KjG489YX9Jse4EnKdO8uW8KCdjmQC7rohv3sv3E a9lUF2uM5kqu4saQv3dvC6HPiNUeJBMa4qJAA5iqrc2OkfA4T/AUFobK3hI1FhKZ /e9SS9okwsSd+TLcWV3y6Bus7eb1tKqox4YagKmQg08n0Yoh9Ukt9ca4d86CIPs4 4P/NWct8KQtd07B9bPCL+Zcu5WYtVqSthIkHLGmTTpDP8DFTd/w= =YAKe -----END PGP SIGNATURE----- --=-=-=--