Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Install gcc? error "ld.so.1: gcc: fatal: libintl.so.3: open failed:" 1

Status
Not open for further replies.

kasparov

Programmer
Feb 13, 2002
203
GB
I'm trying to install gcc on my Solaris 5.8 machine (with a view to installing mutt). I used this link which seemed very useful:

But when I try to compile a Hello World program I get this error "ld.so.1: gcc: fatal: libintl.so.3: open failed: No such file or directory". Can anyone advise how I should progress from here?

Thanks, Chris
 
Did you also install make and other prerequisites?

I want to be good, is that not enough?
 
Hi Ken - Yes I installed make & get the same error:

Code:
:/tmp/download > make
ld.so.1: make: fatal: libintl.so.3: open failed: No such file or directory
Killed
:/tmp/download >

Chris
 
Hi Chris,

The error is telling you that a 'library' file is missing (from where it expects to find it). So either it doesn't exist on the system or its in the wrong place. Try:
# find / -name "libintl.so.3" -ls

to see if it on the system.

When I recently downloaded some software from I also had to download either "libgcc-3.3" or "gcc-3.3.2" (according to the notes). I chose the "libgcc-3.3" because I didn't need to compile it. But I still had to unzip and 'pkgadd -d' the 'library' files first. They were put into /usr/local/lib directory.

Did you get 'gcc' from ? If not, I would recommend you try there because not only are there 3 versions but also there are reasonable 'Downloading/Installation' instructions.

I hope that helps.

Mike
 
I don't know if this is useful but I tried a pkgchk (for make & gcc) & got this - is the error from rm relevant?

Code:
:/tmp/download > /usr/sbin/pkgchk -d make* SMCmake
Checking uninstalled stream format package <SMCmake> from </tmp/download/make-3.
81-sol8-sparc-local>
## Checking control scripts.
## Checking package objects.
## Checking is complete.
rm: Cannot remove any directory in the path of the current working directory
/var/tmp/aaaZaaOnN/SMCmake
:/tmp/download >


Code:
:/tmp/download > /usr/sbin/pkgchk -d gcc* SMCgcc
Checking uninstalled stream format package <SMCgcc> from </tmp/download/gcc-3.4.
6-sol8-sparc-local>
## Checking control scripts.
## Checking package objects.
## Checking is complete.
rm: Cannot remove any directory in the path of the current working directory
/var/tmp/aaapeaWrN/SMCgcc
:/tmp/download >

Chris
 
Hi Mike - Only just saw your reply. I'll look into this & post a message when I get somewhere (or not ...)

Yes - I used but as you say there are a few versions there & I wasn't sure which to use. Will also make sure I read the install notes properly.

Thanks, Chris
 
Apologies all - RTFM.

I had missed this very clear instruction:

Code:
These gcc packages require the installation of libiconv and libintl.

Thanks for your help - Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top