This repository has been archived by the owner on Oct 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 217
OSX binary depends on libgmp, missing by default #1971
Comments
kevinsullivan
changed the title
OSX Binary depends on library missing by default, not documented
OSX Binary depends on libgmp, missing by default
Aug 30, 2018
kevinsullivan
changed the title
OSX Binary depends on libgmp, missing by default
OSX binary depends on libgmp, missing by default
Aug 30, 2018
I've seen other projects statically link An alternative that I would favor is making Homebrew the standard way of distributing Lean on macOS. Unfortunately, the Homebrew Lean tap has not been given attention in over a year. I briefly looked at it to see if I could update it, but it appears to need a Bintray user ID and password. I would be willing to bring the Homebrew Lean tap up to date and help maintain it with some initial guidance on how to run the scripts. |
I just discovered that the Homebrew Lean formula is up to date with 3.4.1. So, it may be that |
Ok this is good. The lean download and installation page should probably be
updated at least to notify people of this fact. Thanks!
…On Tue, Sep 4, 2018, 2:20 PM Sean Leather ***@***.***> wrote:
I just discovered that the Homebrew Lean formula
<https://formulae.brew.sh/formula/lean> is up to date with 3.4.1. So, it
may be that brew install lean is all you need, since it has gmp as a
dependency. Note that Homebrew provides binaries, so you don't even need to
build lean.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1971 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACpL9Yp_zqEGISpk59eOkUIidNUSNOuLks5uXsRmgaJpZM4WT1Lf>
.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Prerequisites
or feature requests.
Description
The current lean binary for OSX depends on libgmp being installed, but this library isn't installed by default on OSX. For newbies (like my fresh undergraduate students) it's confusing and frustrating that the distribution doesn't work out of the box. The steps we've been taking to remedy the problem are (1) install XCode, which itself is problematical depending on the current version of OSX one is running; (2) install brew; (3) brew install gmp. Perhaps at a minimum the need to take such steps could be documented so that if users follow the installation instructions (beyond just downloading the darwin executable) it will just work. Thanks all. Very exciting work you're doing.
Steps to Reproduce
Expected behavior: [What you expect to happen]
Should run without error
Actual behavior: [What actually happens]
Fails on missing libgmp.10.dylib
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
Various version of OSX, current version of lean
You can get this information from copy and pasting the output of
lean --version
,please include the OS and what version of the OS you're running.
Additional Information
Nope.
The text was updated successfully, but these errors were encountered: