-
Notifications
You must be signed in to change notification settings - Fork 20
Known issues in libraries
Simon Urbanek edited this page Jul 1, 2020
·
9 revisions
The following are various bugs in libraries that we provide recipes for. Ideally, those should be addressed upstream as none of them are macOS-specific, majority of them are due to broken detection of flags for 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.
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 should be really fixed by GEOS on--static-clibs
). - 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
).