Skip to content

Conversation

@G4Vi
Copy link
Contributor

@G4Vi G4Vi commented Jul 23, 2025

Fixes #112

Before when ran without sudo, extism lib install ignored errors when creating directories:

patrick@Mac local % extism lib install
Installing v1.12.0 to /usr/local
Fetching https://github.com/extism/extism/releases/download/v1.12.0/libextism-aarch64-apple-darwin-v1.12.0.tar.gz
Error: open /usr/local/include/extism.h: no such file or directory

Now:

gavin@Gavins-MacBook-Pro cli % go run extism/main.go lib install 
Installing v1.12.0 to /usr/local
Fetching https://github.com/extism/extism/releases/download/v1.12.0/libextism-aarch64-apple-darwin-v1.12.0.tar.gz
Error: mkdir /usr/local/include: permission denied

@G4Vi G4Vi requested review from nilslice and zshipko as code owners July 23, 2025 15:36
@G4Vi G4Vi merged commit ad81e44 into main Jul 23, 2025
7 checks passed
@G4Vi G4Vi deleted the gavin/20250723-mkdir-error-checking branch July 23, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

extism lib install fails on macOS due to missing /usr/local/include /usr/local/lib folders

3 participants