Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

macOS Mojave - installing jasonnnet fails #14

Closed
dcfidalgo opened this issue Apr 1, 2019 · 1 comment
Closed

macOS Mojave - installing jasonnnet fails #14

dcfidalgo opened this issue Apr 1, 2019 · 1 comment
Assignees
Labels
note Rather a note than an issue

Comments

@dcfidalgo
Copy link
Contributor

On macOS Mojave, the jsonnet install fails:

  1 warning generated.
  clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
  ld: library not found for -lstdc++
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  error: Setup script exited with error: command 'g++' failed with exit status 1
  make: *** [dev] Error 1 

A working solution can be found here: google/jsonnet#573 (comment)

It's basically

$ xcode-select --install
$ open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
@dcfidalgo dcfidalgo self-assigned this Apr 1, 2019
@dcfidalgo dcfidalgo added the note Rather a note than an issue label Nov 21, 2019
@dvsrepo dvsrepo closed this as completed May 5, 2020
@dcfidalgo
Copy link
Contributor Author

@ignacioct just encountered this issue when he tried to install biome.text. Our solution was to install jsonnet via conda:
conda install jsonnet -c conda-forge.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
note Rather a note than an issue
Projects
None yet
Development

No branches or pull requests

2 participants