From owner-freebsd-ports@freebsd.org Mon Oct 16 08:58:34 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2885E33D17 for ; Mon, 16 Oct 2017 08:58:34 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A635A73713; Mon, 16 Oct 2017 08:58:34 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io0-x233.google.com with SMTP id f20so15278579ioj.9; Mon, 16 Oct 2017 01:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Zubqm7Pka9m2E0LvO3w4ZtKmgS6J6sVoW97/jmtyi5E=; b=Cyk33LyFip79gW+tjE+gJyXWGOPYPGY0ElAuRR+WOE3GHKXjEmfWrPIwyzYGXC3ULY Ni2GUd09fnpS4O4e5rZp+eezMtgj7/vk3BSHS9yXBKIWxLKVpl0Niy/QJm+fHVky0V7a vtfmqnagXz7C9g59K8mSYYiwQYflGqy9SYw5Ge/4do7IPsSnMwEgh8wuXJQjbQdeoUAK K3PC+kmHzxS2aRcoi7NaXbuz9Qp7Gf2Oetz6VEFC+RASGl5KyMyN3+HwbkmeXThBmSMI Zf9zS1PE7moQFvYoXX7U9ehDWJLfjTRE0P6uJ83Yw13ZqnsAE9eIkR1v1iqOsTHFLi83 KWcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Zubqm7Pka9m2E0LvO3w4ZtKmgS6J6sVoW97/jmtyi5E=; b=COINBNpx43qR+h5IetYY7/MC0qVptkCQs31g+GGOBGFkG9Y2dlfFnsAH+uulCF7tav RSpp60Yu8EdBYMFwWgHxhP0xCJgMQP5csHcD9BFOSF7SoN27p53zhsgBDXA8R7K39HAt BZnERxfsHkp7g2e4zBKRUl12ZjWcw21iRnVpAX2j2MhOyrWAxXMwRygjfGkg/YDBKY7h vIPCT165MTS8ByjWwWI3mvLOXCJACtUG6IX6Mdlejb2/9RvGthy7bJnn8fQFAGtdA1vy k4YSnTcLhL82yfBy+ceGy8GTGntomNNiGi0WhoU72L6ofy+Lp8tKG8gq+1QcCMbAhqWs QLEw== X-Gm-Message-State: AMCzsaUsFmPipu8yrYs7ai7WSO3cU3AeAL5AnYykgVmOm7wAJrCGKlQd Ko9Svn2ipfS+igCraNyCDSBikTBBFpNG9i67rC/ssQ== X-Google-Smtp-Source: AOwi7QAACI/XB/Jp3wabwcEHXfp54S0UfKt8dmSqvM6c3s1hT5hpSfppR3LpspkfMygelnk7hZNvxZYyhdgie5qDCFQ= X-Received: by 10.107.114.5 with SMTP id n5mr12462783ioc.291.1508144313357; Mon, 16 Oct 2017 01:58:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.8.66 with HTTP; Mon, 16 Oct 2017 01:58:32 -0700 (PDT) In-Reply-To: <20171016085009.exrw2xz4mpfp5s7h@ivaldir.net> References: <20171016080724.4byyskmlbeloxhmt@ivaldir.net> <20171016085009.exrw2xz4mpfp5s7h@ivaldir.net> From: blubee blubeeme Date: Mon, 16 Oct 2017 16:58:32 +0800 Message-ID: Subject: Re: gnu ltdl and FreeBSD To: Baptiste Daroussin Cc: FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2017 08:58:35 -0000 I've tried passing CONFIGURE_ARGS or removing it, both gives the same error below. LIB_DEPENDS= libltdl.so:devel/libltdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-ltdl-install USES= autoreconf gmake libtool the config.log file is there and it's pretty long as well I am looking through it but I am not sure what exactly to look for. Here's a pastebin with that config.log file: https://pastebin.com/NjkgBTeM both lt_dlinit and lt_dlopen are being used, grep output below. ==================================================================================================== me@blubee:/usr/ports/graphics/utsushi % grep -rn "lt_dlinit" work/utsushi-c590592/ work/utsushi-c590592/lib/run-time.cpp:370: lt_dlinit (); work/utsushi-c590592/drivers/esci/interpreter.cpp:81: lt_dlinit (); work/utsushi-c590592/upstream/aclocal/ltdl.m4:152: AC_CHECK_LIB([ltdl], [lt_dlinit], [lt_lib_ltdl=yes]) work/utsushi-c590592/upstream/ltdl/ltdl.h:53:LT_SCOPE int lt_dlinit (void); work/utsushi-c590592/upstream/ltdl/ltdl.c:226:lt_dlinit (void) me@blubee:/usr/ports/graphics/utsushi % grep -rn "lt_dlopen" work/utsushi-c590592/ work/utsushi-c590592/configure:19663: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/configure:19684: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/configure:19727: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/configure:19760: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" work/utsushi-c590592/configure:19802: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" work/utsushi-c590592/configure:19818: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la" work/utsushi-c590592/configure:19823: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" work/utsushi-c590592/configure:19838: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" work/utsushi-c590592/configure:19882: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la" work/utsushi-c590592/configure.libtool.bak:19663: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/configure.libtool.bak:19684: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/configure.libtool.bak:19727: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/configure.libtool.bak:19760: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" work/utsushi-c590592/configure.libtool.bak:19802: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" work/utsushi-c590592/configure.libtool.bak:19818: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la" work/utsushi-c590592/configure.libtool.bak:19823: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" work/utsushi-c590592/configure.libtool.bak:19838: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" work/utsushi-c590592/configure.libtool.bak:19882: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la" work/utsushi-c590592/lib/scanner.cpp:81: handle = lt_dlopenadvise (plugin.c_str (), advice); work/utsushi-c590592/lib/scanner.cpp:114: handle = lt_dlopenext (p.string ().c_str ()); work/utsushi-c590592/drivers/esci/interpreter.cpp:157: lt_dlhandle handle = lt_dlopenext (interpreter.c_str ()); work/utsushi-c590592/autom4te.cache/output.0:19663: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/autom4te.cache/output.0:19684: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/autom4te.cache/output.0:19727: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/autom4te.cache/output.0:19760: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" work/utsushi-c590592/autom4te.cache/output.0:19802: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" work/utsushi-c590592/autom4te.cache/output.0:19818: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la" work/utsushi-c590592/autom4te.cache/output.0:19823: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" work/utsushi-c590592/autom4te.cache/output.0:19838: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" work/utsushi-c590592/autom4te.cache/output.0:19882: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la" work/utsushi-c590592/autom4te.cache/traces.2:5562: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], work/utsushi-c590592/autom4te.cache/traces.2:5570: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], work/utsushi-c590592/autom4te.cache/traces.2:5575: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])]) work/utsushi-c590592/autom4te.cache/traces.2:5589: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"], work/utsushi-c590592/autom4te.cache/traces.2:5593: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" work/utsushi-c590592/autom4te.cache/traces.2:5603: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"]) work/utsushi-c590592/autom4te.cache/traces.2:5606: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" work/utsushi-c590592/autom4te.cache/traces.2:5610: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" work/utsushi-c590592/autom4te.cache/traces.2:5617: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"]) work/utsushi-c590592/autom4te.cache/traces.0:2198: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], work/utsushi-c590592/autom4te.cache/traces.0:2206: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], work/utsushi-c590592/autom4te.cache/traces.0:2211: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])]) work/utsushi-c590592/autom4te.cache/traces.0:2225: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"], work/utsushi-c590592/autom4te.cache/traces.0:2229: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" work/utsushi-c590592/autom4te.cache/traces.0:2239: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"]) work/utsushi-c590592/autom4te.cache/traces.0:2242: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" work/utsushi-c590592/autom4te.cache/traces.0:2246: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" work/utsushi-c590592/autom4te.cache/traces.0:2253: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"]) work/utsushi-c590592/autom4te.cache/output.1:19663: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/autom4te.cache/output.1:19684: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/autom4te.cache/output.1:19727: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/autom4te.cache/output.1:19760: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" work/utsushi-c590592/autom4te.cache/output.1:19802: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" work/utsushi-c590592/autom4te.cache/output.1:19818: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la" work/utsushi-c590592/autom4te.cache/output.1:19823: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" work/utsushi-c590592/autom4te.cache/output.1:19838: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" work/utsushi-c590592/autom4te.cache/output.1:19882: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la" work/utsushi-c590592/autom4te.cache/output.2:19663: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/autom4te.cache/output.2:19684: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/autom4te.cache/output.2:19727: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" work/utsushi-c590592/autom4te.cache/output.2:19760: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" work/utsushi-c590592/autom4te.cache/output.2:19802: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" work/utsushi-c590592/autom4te.cache/output.2:19818: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la" work/utsushi-c590592/autom4te.cache/output.2:19823: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" work/utsushi-c590592/autom4te.cache/output.2:19838: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" work/utsushi-c590592/autom4te.cache/output.2:19882: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la" work/utsushi-c590592/libtool:8530: # Otherwise, use the dlname, so that lt_dlopen finds it. work/utsushi-c590592/upstream/aclocal/ltdl.m4:200: _LT_SHELL_INIT([lt_dlopen_dir=$lt_ltdl_dir])], work/utsushi-c590592/upstream/aclocal/ltdl.m4:201: [nonrecursive], [_LT_SHELL_INIT([lt_dlopen_dir=$lt_ltdl_dir; lt_libobj_prefix=$lt_ltdl_dir/])], work/utsushi-c590592/upstream/aclocal/ltdl.m4:669: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], work/utsushi-c590592/upstream/aclocal/ltdl.m4:677: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], work/utsushi-c590592/upstream/aclocal/ltdl.m4:682: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])]) work/utsushi-c590592/upstream/aclocal/ltdl.m4:696: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"], work/utsushi-c590592/upstream/aclocal/ltdl.m4:700: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" work/utsushi-c590592/upstream/aclocal/ltdl.m4:710: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"]) work/utsushi-c590592/upstream/aclocal/ltdl.m4:713: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" work/utsushi-c590592/upstream/aclocal/ltdl.m4:717: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" work/utsushi-c590592/upstream/aclocal/ltdl.m4:724: LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"]) work/utsushi-c590592/upstream/ltmain.sh.bak:8021: # Otherwise, use the dlname, so that lt_dlopen finds it. work/utsushi-c590592/upstream/ltmain.sh:8021: # Otherwise, use the dlname, so that lt_dlopen finds it. work/utsushi-c590592/upstream/ltdl/loaders/dlopen.c:70: vtable->name = "lt_dlopen"; work/utsushi-c590592/upstream/ltdl/loaders/preopen.c:366: lt_dlhandle handle = lt_dlopen (symbol->name); work/utsushi-c590592/upstream/ltdl/ltdl.h:77:LT_SCOPE lt_dlhandle lt_dlopen (const char *filename); work/utsushi-c590592/upstream/ltdl/ltdl.h:78:LT_SCOPE lt_dlhandle lt_dlopenext (const char *filename); work/utsushi-c590592/upstream/ltdl/ltdl.h:79:LT_SCOPE lt_dlhandle lt_dlopenadvise (const char *filename, work/utsushi-c590592/upstream/ltdl/ltdl.h:134: int ref_count; /* number of times lt_dlopened minus work/utsushi-c590592/upstream/ltdl/ltdl.c:243: can use _them_ to lt_dlopen its own modules. */ work/utsushi-c590592/upstream/ltdl/ltdl.c:953: cur->deplibs[j] = lt_dlopenext(names[depcount-1-i]); work/utsushi-c590592/upstream/ltdl/ltdl.c:1624:lt_dlopen (const char *filename) work/utsushi-c590592/upstream/ltdl/ltdl.c:1626: return lt_dlopenadvise (filename, NULL); work/utsushi-c590592/upstream/ltdl/ltdl.c:1635:lt_dlopenext (const char *filename) work/utsushi-c590592/upstream/ltdl/ltdl.c:1641: handle = lt_dlopenadvise (filename, advise); work/utsushi-c590592/upstream/ltdl/ltdl.c:1649:lt_dlopenadvise (const char *filename, lt_dladvise advise) work/utsushi-c590592/upstream/ltdl/ltdl.c:1899: passing to lt_dlopenext. The extensions are stripped so that work/utsushi-c590592/upstream/ltdl/ltdl.c:1902: then the same directories that lt_dlopen would search are examined. */ It's still pretty much the same error gmake[4]: Entering directory '/usr/ports/graphics/utsushi/work/utsushi-c590592/upstream/ltdl' /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DLTDLOPEN=libltdl -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -MT loaders/libltdl_la-preopen.lo -MD -MP -MF loaders/.deps/libltdl_la-preopen.Tpo -c -o loaders/libltdl_la-preopen.lo `test -f 'loaders/preopen.c' || echo './'`loaders/preopen.c libtool: compile: cc -DHAVE_CONFIG_H -DLTDLOPEN=libltdl "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -MT loaders/libltdl_la-preopen.lo -MD -MP -MF loaders/.deps/libltdl_la-preopen.Tpo -c loaders/preopen.c -fPIC -DPIC -o loaders/.libs/libltdl_la-preopen.o In file included from loaders/preopen.c:32: libltdl/lt__private.h:35:12: fatal error: 'config.h' file not found # include LT_CONFIG_H ^ :3:21: note: expanded from here #define LT_CONFIG_H On Mon, Oct 16, 2017 at 4:50 PM, Baptiste Daroussin wrote: > On Mon, Oct 16, 2017 at 08:25:57AM +0000, blubee blubeeme wrote: > > This is what the Makefile looks like, the file still fails: > > > > LICENSE= GPLv3+ > > BUILD_DEPENDS= gsed:textproc/gsed > > > > BINARY_ALIAS= sed=gsed > > > > LIB_DEPENDS= libltdl.so:devel/libltdl > > GNU_CONFIGURE= yes > > USES= autoreconf gmake > > > > same compile error. > > That config.h should be auto generated and setup by autoreconf but its > not. > > The config.h is not setup by autoreconf neither generated by autoreconf. > the run > of the configure script should generated it except if it fails. Have you > read > the config.log (very long and verbose script that explains what happened - > including failures - during the run of the configure script) > > Also you should add "libtool" to your USES line > > Best regards, > Bapt >