configure succeeds without dlfcn.h, but fails to compile (OS X) (PR#2875)
On Tue, 29 Apr 2003 buerkla@uwec.edu wrote:
Full_Name: Alex Buerkle Version: 1.7.0 OS: OS X Submission from: (NULL) (137.28.112.199) The configure of R-1.7.0 completed, but the build fails with error below. This failure appears to be because dlfcn.h was missing (installing it fixed the problem). The possible bug: my limited ability to read ./configure suggests that it tests for dlfcn.h, but does not fail if it doesn't find it on Darwin/OS X. Given that it is required to compile, it seems like configure should fail.
I think in fact the problem is that there is a bug in the code for when dynamic loading is not available. There are various tests for HAVE_DYNAMIC_LOADING, suggesting that it was once possible to compile without it. -thomas