Re: /bin/sh linked to dash?
Wayne Topa <[email protected]>
| Newsgroups | gmane.linux.debian.ports.amd64 |
|---|---|
| Message-ID | <[email protected]> |
On 07/01/2011 01:48 PM, Francesco Pietra wrote: > I wonder whether amd64 wheezy links /bin/sh to dash instead of bash. > Yes to both wheezy and sid here wtopa@dj:~$ ls -l /bin/sh lrwxrwxrwx 1 root root 4 Feb 2 12:56 /bin/sh -> dash* wtopa@dj:~$ ls -l /media/wheezy/bin/sh lrwxrwxrwx 1 root root 4 Feb 8 09:38 /media/wheezy/bin/sh -> dash* wtopa@dj:~$ > I am getting error "Bad fd number, can't run mopac.h" in a mopac.sh > calculation (mopac compiled fortran, in fact a FOR005 file is > generated, and not deleted by mopac probably because it was running > bad). > > I am asking that (and thus if a symlink is needed using bash, as in my > case) because with the same code (and same calculation) I had no such > error with amd64 lenny. I have just copied the whole > molecular-mechanics compiled code (which includes mopac among hundreds > of other codes) from a lenny machine to a wheezy machine. The reason > of the copy is that the molecular-mechanics code can't be compiled > with recent gcc/fortran (its loose fortran is not allowed by recent > compilers) while the wheezy cuda machine is far faster than the old > cpu machine. > > thanks > francesco pietra > >