Message-ID: <Pine.A41.4.44.0304291254210.104800-100000@homer03.u.washington.edu>
Date: 2003-04-29T22:03:14Z
From: Thomas Lumley
Subject: configure succeeds without dlfcn.h, but fails to compile (OS X) (PR#2875)
In-Reply-To: <200304291824.h3TIOD2b027864@pubhealth.ku.dk>
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