AquaticEcoDynamics / glm-aed

Home of the GLM-AED project - software to simulate aquatic systems
https://aquatic.science.uwa.edu.au/research/models/GLM/
GNU General Public License v3.0
17 stars 8 forks source link

Mac binaries does not have mac libraries #12

Open rqthomas opened 2 weeks ago

rqthomas commented 2 weeks ago

The Sonoma binaries don't have the Mac dynamic libraries anymore. Now users have to use brew to install gd and netcdf. Can the libraries be added back in or is this how Sonoma does it?

casper-boon commented 1 week ago

A feature of "homebrew" is that on Sonoma it places its libraries in a different place when on Apple Silicon from Intel - since I currently dont have a mac with Apple Silicon processor I have not been able to work out where it puts these libs so I could adjust the macos/macpkg.sh script accordingly.


From: Quinn Thomas @.> Sent: Wednesday, 4 September 2024 12:00 AM To: AquaticEcoDynamics/glm-aed @.> Cc: Subscribed @.***> Subject: [AquaticEcoDynamics/glm-aed] Mac binaries does not have mac libraries (Issue #12)

The Sonoma binaries don't have the Mac dynamic libraries anymore. Now users have to use brew to install gd and netcdf. Can the libraries be added back in or is this how Sonoma does it?

— Reply to this email directly, view it on GitHubhttps://github.com/AquaticEcoDynamics/glm-aed/issues/12, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEAXSS7AEDJ2XVCYLWWKKALZUXMKLAVCNFSM6AAAAABNSOS7KKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYDGMRUHAYTCMA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

rqthomas commented 1 week ago

I have Sonoma with Apple Silicon (M3) and here are my homebrew paths

/opt/homebrew/opt/netcdf/lib/libnetcdf.19.dylib (compatibility version 19.0.0, current version 19.0.0)
/opt/homebrew/opt/hdf5/lib/libhdf5_hl.310.dylib (compatibility version 311.0.0, current version 311.2.0)
/opt/homebrew/opt/hdf5/lib/libhdf5.310.dylib (compatibility version 313.0.0, current version 313.0.0)
/opt/homebrew/opt/libaec/lib/libsz.2.dylib (compatibility version 2.0.0, current version 2.0.1)
/opt/homebrew/opt/gd/lib/libgd.3.dylib (compatibility version 4.0.0, current version 4.11.0)
/opt/homebrew/opt/gcc/lib/gcc/current/libgfortran.5.dylib (compatibility version 6.0.0, current version 6.0.0)
/opt/homebrew/opt/gcc/lib/gcc/current/libgomp.1.dylib (compatibility version 2.0.0, current version 2.0.0)
/opt/homebrew/opt/gcc/lib/gcc/current/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/opt/homebrew/opt/libpng/lib/libpng16.16.dylib (compatibility version 57.0.0, current version 57.0.0)
/opt/homebrew/opt/freetype/lib/libfreetype.6.dylib (compatibility version 27.0.0, current version 27.1.0)
/opt/homebrew/opt/fontconfig/lib/libfontconfig.1.dylib (compatibility version 14.0.0, current version 14.0.0)
/opt/homebrew/opt/jpeg-turbo/lib/libjpeg.8.dylib (compatibility version 8.0.0, current version 8.3.2)
/opt/homebrew/opt/libtiff/lib/libtiff.6.dylib (compatibility version 7.0.0, current version 7.1.0)
/opt/homebrew/opt/webp/lib/libwebp.7.dylib (compatibility version 9.0.0, current version 9.8.0)
/opt/homebrew/opt/libavif/lib/libavif.16.dylib (compatibility version 16.0.0, current version 16.0.1)