The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
NFS problem on Solaris 8 shamsul SUN Solaris 0 05-31-2008 09:12 AM
problem ftp solaris 10 gonzo SUN Solaris 1 01-29-2008 02:55 PM
Solaris 10 - X Problem pc9456 SUN Solaris 5 04-18-2007 01:47 PM
Solaris 9 - Ftp problem BCarlson Shell Programming and Scripting 3 12-05-2005 02:27 PM
problem in solaris 8 fuqiang1976 UNIX for Dummies Questions & Answers 1 09-05-2001 07:54 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-09-2009
Bradj47's Avatar
Bradj47 Bradj47 is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 47
gcc problem on Solaris

I just installed gcc from the latest package at sunfreeware.com using pkgadd. I write a simple 'Hello World!' program to test it. I try to compile it and I get this error:

Code:
rockstar# gcc hello.c -o hello
ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
Killed
I set my LD_LIBRARY_PATH variable:

Code:
rockstar# setenv LD_LIBRARY_PATH /usr/lib/
Get the same error. I check /usr/lib/ and libiconv.so.2 isn't there anyway. Is the package I found at sunfreeware.com the official package to install or is there a better one out there? I assume there would be a better package that comes with all the .so files I need to compile a simple file like this.

---------- Post updated at 11:42 AM ---------- Previous update was at 10:59 AM ----------

OK, I'm an idiot. gcc is already installed in /usr/sfw/bin/gcc and is fully functional. Admins can close this post.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:09 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0