Open ejoebstl opened 3 years ago
I think this is a variation of #930. I haven't looked at the issue in a long time though. Node-canvas prebuilds use the latest versions of Cairo/etc., and it specifically loads the SOs that we bundle, so I'm not sure what the conflict is anymore.
@zbjornson Gotcha. Do you have an idea or any pointer how to approach debugging this?
I am running into a segfault when trying to render a PDF using pdf.js onto a canvas instance.
I have tried to run node with GDB and this is the output. It seems like the segfault happens inside a
libcairo
that comes pre-bundled with another package.When I remove the other package from the project, the code works normally.
How can I configure node-canvas to load the
libcairo
I have installed on my OS, or another version that is appropriate?Environment
canvas@2.8.0 Fedora release 33 Node v12.22.1