Date: Wed, 01 Jun 2011 15:05:49 +0200 From: Matthias Andree <matthias.andree@gmx.de> To: freebsd-ports@freebsd.org Subject: Re: lang/guile build fails for me Message-ID: <4DE6392D.5000106@gmx.de> In-Reply-To: <20110601114442.GB2223@reindeer.exwg.net> References: <4DE5D8C9.3020506@icyb.net.ua> <4DE6244E.1040301@FreeBSD.org> <20110601114442.GB2223@reindeer.exwg.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DE6392D.5000106>