This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/9045: libintl and libiconv not found at first ./xgcc usage
- From: warren dot dodge at tektronix dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 23 Dec 2002 20:32:07 -0000
- Subject: bootstrap/9045: libintl and libiconv not found at first ./xgcc usage
- Reply-to: warren dot dodge at tektronix dot com
>Number: 9045
>Category: bootstrap
>Synopsis: libintl and libiconv not found at first ./xgcc usage
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 23 12:36:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Warren Dodge
>Release: gcc-3.2.1
>Organization:
>Environment:
Solaris 2.5.1 with libiconv and libintl available
>Description:
I tried to configure and build gcc with this command
../gcc-3.2.1/configure --prefix=/proj/wdt/gnu_sun5.1/gcc-3.2.1
--with-local-prefix=/proj/wdt/gnu_sun5.1/gcc-3.2.1
--with-gnu-ld
--with-ld=/proj/wdt/gnu_sun5.1/binutils/bin/ld
--with-gnu-nm
--with-nm=/proj/wdt/gnu_sun5.1/binutils/bin/nm
--with-gnu-as
--with-as=/proj/wdt/gnu_sun5.1/binutils/bin/as
--enable-threads=posix
--enable-shared
--with-libiconv-prefix=/proj/wdt/gnu_sun5.1/libiconv-1.8
then ran gmake bootstrap
When it gets to the point of running xgcc for the first time it can
not find libintl or libiconv as shown below. I thought the above iconv
switch would make it find that. Not sure what is going on with
libintl.
./xgcc -B./
-B/proj/wdt/gnu_sun5.1/gcc-3.2.1/sparc-sun-solaris2.5.1/bin/ -isystem
/proj/wdt/gnu_sun5.1/gcc-3.2.1/sparc-sun-solaris2.5.1/include -isystem
/proj/wdt/gnu_sun5.1/gcc-3.2.1/sparc-sun-solaris2.5.1/sys-include
-dumpspecs > tmp-specs
ld.so.1: ./xgcc: fatal: libintl.so.2: open failed: No such file or directory
Killed
gmake[2]: *** [specs] Error 137
gmake[2]: Leaving directory `/proj/wdtold/warrend/gnusrc/gcc-everything-3.2.1/gcc-3.2.1_sun5.1/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/proj/wdtold/warrend/gnusrc/gcc-everything-3.2.1/gcc-3.2.1_sun5.1/gcc'
gmake: *** [bootstrap] Error 2
ldd gcc/xgcc
libintl.so.2 => (file not found)
libiconv.so.2 => (file not found)
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1
The same configure with sun5.1 changed to sun5.8 works fine on
solaris8
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: