Automattic / Automattic/node-canvas

Symbol not found: ____chkstk_darwin error on MacOS using node 14.5.0

Open
#1,626 5 comments 0 reactions 0 assignees View on GitHub
Binaries
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

When running CI jobs in Travis-CI, I get the following error using the module on a Mac agent:

```
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
Referenced from: /Users/travis/build/catdad-experiments/svg-render/node_modules/canvas/build/Release/libgobject-2.0.0.dylib (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
Referenced from: /Users/travis/build/catdad-experiments/svg-render/node_modules/canvas/build/Release/libgobject-2.0.0.dylib (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
```

The error mentions that the library was built for MacOS 10.15, and I can see that Travis is using 10.13.6. I am not entirely sure of what the support policy for OS versions is. I expect popular CIs to work, so I figured I would ask. Using node 13 and below on the same agents, everything works as expected.

Here is an example build it it helps: https://travis-ci.com/github/catdad-experiments/svg-render/builds/176585143

## Your Environment
* Version of node-canvas (output of `npm list canvas` or `yarn list canvas`): 2.6.1
* Environment (e.g. node 4.2.0 on Mac OS X 10.8): MacOS 10.13.6

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.