"ld: fatal:" Error 1 running make on libiconv 1.13.1
Hello,
I am trying to compile and install the latest libiconv 1.13.1 (downloaded directly from the official GNU site) on my installation of i386 OpenSolaris 2009.06. 1. ./configure --prefix=/usr/gnu --enable-shared --with-pic 2. make ends with this error: libtool: link: gcc -shared -Wl,-z -Wl,text -Wl,-h -Wl,libiconv.so.2 -o .libs/libiconv.so.2.5.0 .libs/iconv.o .libs/localcharset.o .libs/relocatable.o -lsec -lc Text relocation remains referenced against symbol offset in file aliases_lookup 0x129a6 .libs/iconv.o aliases_lookup 0x12ee4 .libs/iconv.o ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status make[1]: *** [libiconv.la] Error 1 make[1]: Leaving directory `/src/libiconv-1.13.1/lib' make: *** [all] Error 2 I have the latest binutils installed (2.20) and GCC 4.3.2 from Package Manager. Also, the following configure options have been unsuccessfully atttempted: ./configure --prefix=/usr/gnu --enable-shared ./configure --prefix=/usr/gnu --with-pic ./configure --prefix=/usr/gnu Any help would be appreciated! Thanks. |
Hi -
I'm confused about the ".libs" thing - I don't recall "iconv" creating a ".libs" directory. Anyway - I'd suggest: 1. run "make clean" <= Delete any binaries you might have created since your "./configure" 2. find . -name ".o" -print <= Make *sure* you've deleted all your object binaries 3. make <= Re-run "make" ... and hopefully you *won't* get the same error this time |
*
' libiconv-1.13.1/lib/ ' exists, when you unpack the tarball. The hidden directory ' libiconv-1.13.1/lib/.libs/ ' is a created one ... .. may be a new thing by this version .. ? ..... |
All times are GMT -5. The time now is 08:02 PM. |