Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macos: libffi needed by ctypes #4

Open
mobileink opened this issue Sep 2, 2021 · 0 comments
Open

macos: libffi needed by ctypes #4

mobileink opened this issue Sep 2, 2021 · 0 comments

Comments

@mobileink
Copy link
Contributor

mobileink commented Sep 2, 2021

needed by ctypes. brew install:

...
libffi is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

For compilers to find libffi you may need to set:
  export LDFLAGS="-L/usr/local/opt/libffi/lib"
  export CPPFLAGS="-I/usr/local/opt/libffi/include"

For pkg-config to find libffi you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"

In spite of this warning, after this opam install ctypes succeeds.

@mobileink mobileink changed the title macos libffi macos: libffi needed by ctypes Sep 2, 2021
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

No branches or pull requests

1 participant