-
Notifications
You must be signed in to change notification settings - Fork 18
Known issues in libraries
The following are various issues with libraries that we provide recipes for. Ideally, those should be addressed upstream as none of them are macOS-specific, many of them are due to incorrect handling of statically built libraries and thus equally present on Linux.
Tests Fortran with /usr/local/lib
but fails to include it when linking. Requires explicit LIBS=-L/usr/local/lib
to fix.
Requires --disable-netcdf
otherwise any dependency that uses both HDF4 and NetCDF will fail with duplicate symbols.
There is a bug in the examples - install-examples
target ignores $(DESTDIR)
and thus fails. Using make install-recursive
instead of make install
works as install
is simply deferring to install-recursive
and install-examples
.
Fails to include -lsz
when linking hdf5
with SZIP support. Requires explicit LIBS=-lsz
to fix.
- Fails to include
-lsqlite3
when linking PROJ6 - Fails to include
-lsz
when checking for HDF5. - Uses incorrect flags when checking for GEOS, it completely ignores
geos-config --static-clibs
and--clibs
and hard-codes-lgeos_c
. To make things worse, the test for GEOS is so broken that it ignoresLIBS
(replaces it instead of adding) so can't be fixed without patching. (It also requires-lstdc++
since it uses C compiler to link a C++ library, but arguably that may need to be addressed by GEOS in--static-clibs
- but is non-trivial as it is compiler-specific). - uses
libpq
without checking (more preciselylibpq-fe.h
which is in/usr/local/pgsql/include
and thus not detected by default, requiresCPPLFAGS=-I/usr/local/pgsql/include
).