From owner-freebsd-ports@FreeBSD.ORG Wed Jun 1 13:05:54 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 432B51065675 for ; Wed, 1 Jun 2011 13:05:54 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id 8EBE48FC12 for ; Wed, 1 Jun 2011 13:05:53 +0000 (UTC) Received: (qmail invoked by alias); 01 Jun 2011 13:05:51 -0000 Received: from dtmd-4db20450.pool.mediaWays.net (EHLO [192.168.178.23]) [77.178.4.80] by mail.gmx.net (mp060) with SMTP; 01 Jun 2011 15:05:51 +0200 X-Authenticated: #428038 X-Provags-ID: V01U2FsdGVkX1+8tM0cGhq8OFrhbIzRs4c42psXKMFG8FI2nqrIPC IgmbhqtQa2ToZA Message-ID: <4DE6392D.5000106@gmx.de> Date: Wed, 01 Jun 2011 15:05:49 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4DE5D8C9.3020506@icyb.net.ua> <4DE6244E.1040301@FreeBSD.org> <20110601114442.GB2223@reindeer.exwg.net> In-Reply-To: <20110601114442.GB2223@reindeer.exwg.net> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: lang/guile build fails for me X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2011 13:05:54 -0000 Am 01.06.2011 13:44, schrieb Christoph Moench-Tegeder: > ## Andriy Gapon (avg@FreeBSD.org): > >> It also fails for me on stable/8 with base gcc as ports compiler, but in a >> different fashion at configure step: >> checking for lt_dlinit in -lltdl... no >> configure: error: libltdl not found. See README. >> ===> Script "configure" failed unexpectedly. >> >> >From config.log: >> configure:11579: checking for lt_dlinit in -lltdl >> configure:11604: cc -o conftest -O2 -pipe -O2 -fno-strict-aliasing -pipe >> -march=nocona -I/usr/local/include -rpath=/usr/lib:/usr/local/lib conftest.c >> -lltdl >&5 >> /usr/bin/ld: cannot find -lltdl > > Confirmed (8.2-RELEASE-p2). > Somehow, configure loses $LD_LIBRARY_PATH. Not sure how... The command line quoted above lacks the -L option for link-time; -rpath is a run-time option, and by itself, is insufficient. Try stuffing -L${LOCALBASE}/lib into some kind of linker flag such as LDFLAGS or perhaps LIBS - and pass that through CONFIGURE_ENV or _ARGS. HTH -- Matthias Andree