Program built with -no-install won't work without installation.
On those platforms, make check is required to be invoked after installation.
It is basically an issue of libtool.
Program built with -no-install won't work without installation.
On those platforms, make check is required to be invoked after installation.
It is basically an issue of libtool.
libtool works like this:
When latter doesn't work well, make check may fail.
For macOS, with SIP, some program like libgcrypt/tests/random fails, because the hack for DYLD_LIBRARY_PATH by libtool doesn't work for child process:
https://developer.apple.com/library/archive/documentation/Security/Conceptual/System_Integrity_Protection_Guide/RuntimeProtections/RuntimeProtections.html
Any dynamic linker (dyld) environment variables, such as DYLD_LIBRARY_PATH, are purged when launching protected processes.