bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnu-libiconv] Unable to compile libiconv-1.9 - libiconv-1.13.1


From: Bruno Haible
Subject: Re: [bug-gnu-libiconv] Unable to compile libiconv-1.9 - libiconv-1.13.1
Date: Sun, 31 Jan 2010 13:59:03 +0100
User-agent: KMail/1.9.9

Hi,

Gene Matusovsky wrote:
> I've tried compiling various versions of LIBICONV, that I need in order to
> get GLIB to work..
>  
> However, everytime I compile LIBICONV using multiple versions I get the
> following error....

> /bin/sh ../libtool --mode=link gcc  iconv_no_i18n.o ../srclib/libicrt.a 
> ../lib/libiconv.la -o iconv_no_i18n
> gcc iconv_no_i18n.o -o .libs/iconv_no_i18n  ../srclib/libicrt.a 
> ../lib/.libs/libiconv.so -R/opt/home/gmatusov/LIBICONVexec/lib
> ld: warning: file ../srclib/libicrt.a ignored: unable to locate archive 
> symbol table
> Undefined                       first referenced
>  symbol                             in file
> set_program_name                    iconv_no_i18n.o
> ld: fatal: Symbol referencing errors. No output written to .libs/iconv_no_i18n
> collect2: ld returned 1 exit status
> *** Error code 1

Hmm, it looks like the 'ranlib' program did not add a symbol table
to the ../srclib/libicrt.a, as it normally should.

Why this is so, I cannot guess. You need to look yourself what symbols
libicrt.a has (with 'nm'), whether your GCC installation can produce working
libraries at all etc.

I have built libiconv on Solaris numerous times, and have not encountered this
error.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]