[Rd] configure succeeds without dlfcn.h, but fails to compile (PR#2876)

tlumley at u.washington.edu tlumley at u.washington.edu
Tue Apr 29 23:02:29 MEST 2003

On Tue, 29 Apr 2003 buerkla at uwec.edu wrote:

> Full_Name: Alex Buerkle
> Version: 1.7.0
> OS: OS X
> Submission from: (NULL) (
> 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.


More information about the R-devel mailing list