Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2006 01:41:44 -0600
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        Vittorio <vdemart1@tin.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: libiconv doesn't compile
Message-ID:  <20060329014144.607498c0.conrads@cox.net>
In-Reply-To: <10a4194f26d.vdemart1@tin.it>
References:  <10a4194f26d.vdemart1@tin.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Mar 2006 16:59:41 +0100 (GMT+01:00)
Vittorio <vdemart1@tin.it> wrote:

> I tried 
> cd /usr/ports/converters/libiconv
> make install
> 
> but.......
> :......................................................................................
> .......................................................................................
> if test -n ""; then install  -o root -g wheel -m 444  /usr/local/lib/.
> new && mv /usr/local/lib/.new /usr/local/lib/ ; fi
> cd srclib && make 
> install prefix='/usr/local' exec_prefix='/usr/local' 
> libdir='/usr/local/lib'
> cd src && make install prefix='/usr/local' 
> exec_prefix='/usr/local' libdir='/usr/local/lib'
> test `ls -ld . | sed -
> e 's/^d\(.........\).*/\1/'` = rwxrwxrwx || chmod 777 .
> if [ ! -d 
> /usr/local ] ; then /bin/sh ../autoconf/mkinstalldirs /usr/local ; fi
> if [ ! -d /usr/local ] ; then /bin/sh ../autoconf/mkinstalldirs 
> /usr/local ; fi
> if [ ! -d /usr/local/bin ] ; then /bin/sh ..
> /autoconf/mkinstalldirs /usr/local/bin ; fi
> case "freebsd6.0" in  
> hpux*) cc  `if test -n ''; then  /usr/local/bin; fi` iconv.o ..
> /srclib/libicrt.a -L/usr/local/lib -liconv -lintl -o iconv;;  freebsd*) 
> /bin/sh ../libtool --mode=link cc  `if test -n ''; then  
> /usr/local/bin; fi` iconv.o ../srclib/libicrt.a ../lib//libiconv.la -
> lintl -o iconv;;  *) /bin/sh ../libtool --mode=link cc  `if test -n ''; 
> then  /usr/local/bin; fi` iconv.o ../srclib/libicrt.a 
> /usr/local/lib/libiconv.la -lintl -o iconv;;  esac
> cc iconv.o -o .
> libs/iconv  ../srclib/libicrt.a ../lib//.libs/libiconv.so -lintl -Wl,--
> rpath -Wl,/usr/local/lib
> /usr/bin/ld: cannot find -lintl
> *** Error code 
> 1
> ..............................................................
> 
> What's the matter with it?
> 
> Ciao
> Vittorio

I don't know why this isn't listed as a dependency for this particular
port, but anyway...

The linker is not finding libintl.  Try installing devel/gettext and
then recompiling.

-- 
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"



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