arras-energy / gridlabd

Arras Energy simulator
https://www.arras.energy/
BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

Update to enable mysql module broke M1 mac build #133

Closed Thistleman closed 10 months ago

Thistleman commented 10 months ago

I can no longer build Gridlabd on ubuntu containers on my M1 Mac

A large number of functions are returning errors involving undefined references. Example below. /usr/bin/ld: (.text._ZN17Key_hkdf_function10derive_keyEPKhjPhj+0x94): undefined reference toEVP_PKEY_derive_init'`

Steps to reproduce

  1. Run a fresh ubuntu container on an m1 mac
  2. Clone the gridlabd repository
  3. run setup
  4. run build. You will see the errors en masse, and the build will error out.

Expected behavior

Gridlabd will build.

System information