circular dependency compiling libiconv?
Robert Huff
roberthuff at rcn.com
Thu Jan 31 04:48:33 UTC 2013
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
More information about the freebsd-gnome
mailing list