LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-06-2008, 07:34 AM   #1
smartgupta
Member
 
Registered: Sep 2008
Posts: 81

Rep: Reputation: 15
Not able to run gcc


Hi,

I am working with solaris 9(SunOS mgsun 5.9 Generic_112233-07 sun4u sparc SUNW,Sun-Blade-100).I install the gcc 3.4.6 from sunfreeware website and when I am trying to run it,I am getting the error--

# gcc
ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
Killed

when I am trying to see that lib by
# ldd /usr/local/bin/gcc
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,Sun-Blade-100/lib/libc_psr.so.1

so please let me know how can I solve this problem ???
 
Old 10-06-2008, 07:52 AM   #2
vladmihaisima
Member
 
Registered: Oct 2002
Location: Delft, Netherlands
Distribution: Gentoo
Posts: 196

Rep: Reputation: 33
Maybe install libiconv ? (i guess this is the site, and for me this is the obvious solution)
 
Old 10-06-2008, 08:00 AM   #3
mrog
Member
 
Registered: Jul 2003
Location: Ontario, Canada
Distribution: Debian, Ubuntu
Posts: 39

Rep: Reputation: 15
libiconv is not installed.

Try this thread:
http://www.linuxquestions.org/questi...aris-9-455347/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC not able to run C program sco1984 Mandriva 5 08-12-2006 06:11 PM
gcc does not run nor g++ thematrimix Debian 3 10-02-2005 10:06 PM
gcc or cc cant run MI3GTO Linux From Scratch 4 03-02-2005 12:15 PM
Can gcc 3.2.2-5 run on RH8.0 satimis Red Hat 1 07-07-2004 08:54 PM
Only admin can run gcc help! shizzilla Linux - Software 2 01-07-2004 10:15 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration