gnu ltdl and FreeBSD
tijl at FreeBSD.org
Mon Oct 16 08:45:57 UTC 2017
On Mon, 16 Oct 2017 13:37:57 +0800 blubee blubeeme <gurenchan at gmail.com> wrote:
> I'm trying to port some software that keeps failing when it tries to find a
> I know the config.h file is there but I think the compilation is failing
> because it's trying to build ltdl and freebsd doesn't need that since
> freebsd already has dlopen in libc.
> Which configure flag could I try to get rid of building that lib? The full
> configure --help file is below.
> My current makefile has these settings:
> HAS_CONFIGURE= yes
This should be GNU_CONFIGURE=yes.
> CONFIGURE_ARGS= --without-included-ltdl --disable-ltdl-install
> USES= autoreconf gmake
Here you should add "libtool" to USES.
And maybe the code really needs libltdl. See if there are any calls to
lt_dlinit or lt_dlopen. You can then add this dependency:
More information about the freebsd-ports