Erin Hodgess
2013-Oct-29 16:01 UTC
[R] sh /bin/sh bad interpreter error when loading certain packages
Dear R People: I'm on a Centos 5 Red Hat system and I'm trying to install such packages as Cairo, Rserve, etc. However, I keep getting an error: sh:/bin/sh bad interpreter. I'm logged in as root, so it shouldn't be a permissions error. Has anyone else run into this, please? Any help would be much appreciated. I'm sure that it's something silly and small. Thanks, Sincerely, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess@gmail.com [[alternative HTML version deleted]]
Rich Shepard
2013-Oct-29 16:21 UTC
[R] sh /bin/sh bad interpreter error when loading certain packages
On Tue, 29 Oct 2013, Erin Hodgess wrote:> I'm on a Centos 5 Red Hat system and I'm trying to install such packages as > Cairo, Rserve, etc. > However, I keep getting an error: sh:/bin/sh bad interpreter.Erin, A Web search shows several possible causes, including incorrect options in /etc/fstab for the partition you're using and working with a DOS-formatted file that uses CR/LF instead of \n (dos2unix cures that). I've not worked with any Red Hat flavor for the past decade but look at results for that search string and you may find a solution appropriate for you. HTH, Rich -- Richard B. Shepard, Ph.D. | Have knowledge, will travel. Applied Ecosystem Services, Inc. | <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863