I have FSFgcc, version-2.8.1 compiler software installed on E450 with solaris-2.6 version.
i am trying to excute a c++ program and i am getting following error when i excute it as shown below at the shell prompt,
#g++ xyz1
ld: elf error: file xyz1: unknown type, unable to process using elf(3E) libraries
ld: fatal: library -lstdc++: not found
ld: fatal: File processing errors. No output written to a.out
i have the LD_LIBRARY_PATH variable set as shown below
LD_LIBRARY_PATH=/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1
please let me know how to get ride of this.
i am trying to excute a c++ program and i am getting following error when i excute it as shown below at the shell prompt,
#g++ xyz1
ld: elf error: file xyz1: unknown type, unable to process using elf(3E) libraries
ld: fatal: library -lstdc++: not found
ld: fatal: File processing errors. No output written to a.out
i have the LD_LIBRARY_PATH variable set as shown below
LD_LIBRARY_PATH=/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1
please let me know how to get ride of this.