gnu ltdl and FreeBSD

Baptiste Daroussin bapt at FreeBSD.org
Mon Oct 16 08:07:25 UTC 2017


On Mon, Oct 16, 2017 at 05:37:57AM +0000, blubee blubeeme wrote:
> I'm trying to port some software that keeps failing when it tries to find a
> config.h.
> 
> 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
> CONFIGURE_ARGS=  --without-included-ltdl --disable-ltdl-install
> USES=            autoreconf gmake

First this is wrong, if you have USES=autoreconf it means you are using GNU
configure, so s/HAS_CONFIGURE/GNU_CONFIGURE/g

Do you have libltdl.so:devel/libltdl in your LIB_DEPENDS line

Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20171016/89c7aeb7/attachment.sig>


More information about the freebsd-ports mailing list