Re: Can't execute file from command line

2009-01-04 Thread Bob Proulx
Tim Hattrell wrote: > Problem solved. After inspecting the binary I discovered it was asking > for /lib/ld-linux.so.2. This wasn't installed on my system (only 64 bit > libs were) but having installed it Sun Studio is back up and running. Ah. I will have to add 'ldd -r -d ./programfile' to the de

Re: Can't execute file from command line

2009-01-03 Thread Bob Proulx
men8th wrote: > And now run into a brick wall. The IDE starts OK but then complains that it > can't run a file called CC (i.e. the C compiler presumably) "CC" would be the normal name for a legacy C++ compiler. The AT&T C++ compiler was always named CC. GNU calls the gcc version "g++". > I've o

Re: Can't execute file from command line

2009-01-03 Thread Paul Jarc
men8th wrote: > t...@ggeom:/usr/local/SunStudio12ml-linux-x86-200709-ii/sunstudio12/prod/bin$ > ./CC > bash: ./CC: No such file or directory > > However, the file clearly is there. Here is an extract of ls -l The problem could be that CC is a script, and the interpreter on its #! line does not ex

Can't execute file from command line

2009-01-03 Thread men8th
Hi I'm trying to install Sun Studio 12. I have followed the instructions given here: http://ubuntuforums.org/showthread.php?t=554514 And now run into a brick wall. The IDE starts OK but then complains that it can't run a file called CC (i.e. the C compiler presumably) I've opened up a terminal