Computing.Net > Forums > Solaris > GCC error in solaris9

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

GCC error in solaris9

Reply to Message Icon

Name: jagarwal
Date: September 30, 2004 at 13:49:47 Pacific
OS: PPC linux, x86, sparc, in
CPU/Ram: sun blade 100
Comment:

GCC install error in solaris.
---
./configure
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
checking build system type... sparc-sun-solaris2.9
checking for a BSD compatible install... ./install-sh -c
ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
Killed
*** The command 'gcc -o conftest -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
# ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
ld.so.1:: not found

My PATH is set righT
---
echo $PATH
/usr/sbin:/usr/bin:/usr/ccs/bin/:/usr/local/bin:

Any help is appriciated


# #### # # # # # # # #
# # # # # ## # ## # # #
# # # ###### # # # # # # #
# # # # # # # # # # # #
#




Sponsored Link
Ads by Google

Response Number 1
Name: hwood
Date: October 21, 2004 at 22:21:54 Pacific
Reply:

From my limited knowledge of Solaris and GCC it looks like the library files ld.so.1 and libiconv.so.2 are either not installed or not in the location the GCC configure routine expects them to be.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: GCC error in solaris9

Problem whit GCC in Solaris9 www.computing.net/answers/solaris/problem-whit-gcc-in-solaris9/3857.html

Grep Error in Solaris 8 www.computing.net/answers/solaris/grep-error-in-solaris-8/3795.html

SNMPWALK error in solaris 8 www.computing.net/answers/solaris/snmpwalk-error-in-solaris-8/3499.html