Date: Sun, 8 Sep 2013 22:33:26 +0200 From: Jeremie Le Hen <jlh@FreeBSD.org> To: freebsd-ports@FreeBSD.org Cc: jlh@FreeBSD.org Subject: Re: libiconv.a(iconv.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object Message-ID: <20130908203326.GC24473@caravan.chchile.org> In-Reply-To: <20130908105203.GM43281@caravan.chchile.org> References: <20130908105203.GM43281@caravan.chchile.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 08, 2013 at 12:52:03PM +0200, Jeremie Le Hen wrote: > Hi, > > (Please Cc: me when replying, I'm not subscribed.) > > I created a fresh FreeBSD 9.1-RELEASE amd64 jail. No installed ports. > > I cannot build devel/gettext. Does anyone experience the same problem? > I invariably run into the following problem: > > libtool: link: cc -shared -fPIC -DPIC .libs/bindtextdom.o .libs/dcgettext.o .libs/dgettext.o .libs/gettext.o .libs/finddomain.o .libs/hash-string.o .libs/loadmsgcat.o .libs/localealias.o .libs/textdomain.o .libs/l10nflist.o .libs/explodename.o .libs/dcigettext.o .libs/dcngettext.o .libs/dngettext.o .libs/ngettext.o .libs/plural.o .libs/plural-exp.o .libs/localcharset.o .libs/threadlib.o .libs/lock.o .libs/relocatable.o .libs/langprefs.o .libs/localename.o .libs/log.o .libs/printf.o .libs/setlocale.o .libs/version.o .libs/xsize.o .libs/osdep.o .libs/intl-compat.o -L/usr/local/lib /usr/local/lib/libiconv.a -O2 -Wl,-soname -Wl,libintl.so.9 -o .libs/libintl.so.9 > /usr/bin/ld: /usr/local/lib/libiconv.a(iconv.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC > /usr/local/lib/libiconv.a: could not read symbols: Bad value > > Full typescript here: > http://people.freebsd.org/~jlh/typescript.gettext.txt For the record, Gabor Pali pointed that inside the jail, uname(1) still returned the version from my host (10-CURRENT), so the port makes wrong assumptions. This is solved using environement variables as described in the uname(1) manpage. -- Jeremie Le Hen Scientists say the world is made up of Protons, Neutrons and Electrons. They forgot to mention Morons.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130908203326.GC24473>