Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
Update 2021-01-06_cairo.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jan 6, 2021
1 parent c9f2515 commit 3828a71
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions _doc/sphinxdoc/source/blog/2021/2021-01-06_cairo.rst
@@ -1,15 +1,24 @@

.. blogpost::
:title: Automated jobs on jenkins
:keywords: jenkins
:date: 2020-02-02
:categories: automation
:title: Cannot load library libcairo-2.dll
:keywords: pycairo, cairo, libcairo
:date: 2021-01-06
:categories: installation

I don't know why but many of my jobs
fill the folder ``/var/lib/jenkins/.local/``
whether I only create virtual environments.
I need to delete it:
The following error may appear when using
`pycairo <https://pycairo.readthedocs.io/en/latest/>`_.
This module is usually not directly used but through
:epkg:`matplotlib`.

::

rm /var/lib/jenkins/.local/ -r -f
cannot load library '..\bin\libcairo-2.dll': error 0xc1
cannot load library 'libcairo.so.2': error 0x7e
cannot load library 'libcairo.2.dylib': error 0x7e
cannot load library 'libcairo-2.dll': error 0xc1

I was able to solved the issue by installing the
latest version of `Graphviz <https://graphviz.org/>`_
(2.44) which can be found here:
`www2.graphviz.org/...
<https://www2.graphviz.org/Packages/stable/windows/10/cmake/Release/Win32/>`_.

0 comments on commit 3828a71

Please sign in to comment.