Page 1 of 1

Installation of 3.5.0 on MacOS

Posted: Wed Mar 15, 2023 10:26 am
by iandkelly
Hi Marc,

As per your recommendation on my recent post on using gpsh on MacOS (viewtopic.php?t=573), I've been trying to install Geopsy 3.5.0-preview from git on MacOS, following the same instructions as for the source package ( ... sy_package).

However, I'm coming across an error whilst trying to make in the build directory that I can't seem to solve:

Code: Select all

ld: library not found for -lhdf5_serial
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [../lib/GeopsyCore.framework/GeopsyCore] Error 1
make: *** [sub-GeopsyCore-make_first-ordered] Error 2
Having a look at the various configure and make files, it seems that libhdf5-serial is a required dependency for both Linux and MacOS, a change from 3.4 versions of Geopsy. However, whilst the serial version of hdf5 is available for Linux systems, I can't seem to find a way to download that dependency for MacOS - it's not available through Homebrew or Macports.

Is there any way of getting past this apart from setting up a virtual machine? Could i just delete the -ldf5_serial dependencies from the config and make files?

Thanks for everything!