Apple M1 Special Needs

From OPeNDAP Documentation
Revision as of 23:51, 29 December 2021 by Ndp (talk | contribs) (→‎libpng)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
⧼opendap2-jumptonavigation⧽
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Computers with the Apple M1 chip require dedicated binaries, or binaries with both Intel and M1 contents. In order to get the hyrax-dependencies to build the following packages need to be installed prior to running the hyrax-dependencies build.

openssl

This is needed for both the hyrax-dependencies and for the bes builds.

  • brew install openssl
  • export CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.0.1/include"
  • export LDFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.0.1/lib"

libpng

This is needed to build the gdal library in the hyrax-dependencies.

Unpack the distribution bundle and build and install the library into /usr/local

  • ./configure
  • make
  • make check
  • make install