Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2013 23:48:23 -0500
From:      Robert Huff <roberthuff@rcn.com>
To:        gnome@freebsd.org
Cc:        Robert Huff <huff@jerusalem.litteratus.org>
Subject:   circular dependency compiling libiconv?
Message-ID:  <20745.63383.155256.982367@jerusalem.litteratus.org>
In-Reply-To: <201301310435.r0V4ZYVC008917@jerusalem.litteratus.org>
References:  <201301310435.r0V4ZYVC008917@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help

	On a system running:

FreeBSD 10.0-CURRENT #0: Sun Dec 30 12:52:09 EST 2012 amd64 

	with a ports tree updated at 00:00:01 today, attempting to
compile libiconv produces:


builddir="`pwd`"; cd libcharset && make all && make install-lib libdir="$builddir/lib" includedir="$builddir/lib"
cd lib && make all
/bin/sh /usr/local/bin/libtool --mode=link --tag=CC clang  -O -pipe -g -o libcharset.la -rpath /usr/local/lib -version-info 1 -no-undefined localcharset.lo relocatable.lo
libtool: link: rm -fr  .libs/libcharset.so .libs/libcharset.so.1
libtool: link: clang -shared  -fPIC -DPIC  .libs/localcharset.o .libs/relocatable.o    -O   -Wl,-soname -Wl,libcharset.so.1 -o .libs/libcharset.so.1
libtool: link: (cd ".libs" && rm -f "libcharset.so" && ln -s "libcharset.so.1" "libcharset.so")
libtool: link: (cd ".libs" && rm -f "libcharset.so" && ln -s "libcharset.so.1" "libcharset.so")
libtool: link: ar cru .libs/libcharset.a  localcharset.o relocatable.o
Shared object "libiconv.so.3" not found, required by "ar"
*** [libcharset.la] Error code 1

	Huh?  Is this the problem:

>> whereis ar
ar: /usr/local/bin/ar /usr/local/man/man1/ar.1.gz /usr/src/usr.bin/ar
>> la -al /usr/bin/ar
-r-xr-xr-x  2 root  wheel  3885411 Jan 30 23:25 /usr/bin/ar


	Respectfully,


				Robert Huff





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20745.63383.155256.982367>