have installed gcc-3.4.2-sol9-sparc-localon my Solaris server
( OS version 9) and after that I have tried to run gcc and i received a error
bash-2.05# ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file
or directory
Killed
Can I please get help to solve this issue ?
bash-2.05# pkgadd -d gcc-3.4.2-sol9-sparc-local
The following packages are
available:
1 SMCgcc gcc
(sparc) 3.4.2
Select
package(s) you wish to process (or 'all' to process
all packages). (default:
all) [?,??,q]: all
i also can't find libiconv.so.2 in other directory
[code:1]$ gcc -lm
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
[/code:1]