<div dir="ltr"><div><div><div>Never mind,<br><br></div>I received a friendly reminder that I should have put #!/bin/sh at the top of the file.<br><br></div>Sorry for the noise<br><br></div>Mirko<br><div><div><div><div><div><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 9, 2016 at 10:30 AM Mirko Vukovic <<a href="mailto:mirko.vukovic@gmail.com">mirko.vukovic@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hello,<br><br></div>I am trying to get ABCL running under Slime on Linux (RHEL6).  I already have it running<br>on Windows 10.<br><br></div>I wrote the following script (abcl.sh) to launch it:<br>java \<br>     -cp  /usr/local/share/java/abcl.jar \<br>     org.armedbear.lisp.Main<br><br></div>The script resides in /usr/local/bin, and it successfully launches ABCL from the command line of <br>system-administrator (who installs the software) and other users.<br><br></div><div>However, in Emacs/slime (latest), I get<br></div><div><div><div><div><br><span style="font-family:monospace">emacs: /usr/local/bin/abcl.sh: Exec format error<br><br>Process inferior-lisp exited abnormally with code 126<br></span><br></div><div>The definition of abcl resides in local-lisp-implementations:<br></div><div><span style="font-family:monospace">((abcl ("/usr/local/bin/abcl.sh")) (sbcl ("/usr/local/bin/sbcl")))</span><br><br></div><div>Actually there is a symbolic link involved: abcl.sh resides in sys-admins directory, and <br></div><div><span style="font-family:monospace">/usr/local/bin/abcl.sh</span> is a symbolic link to it.  I did try pointing to the script itself, both<br></div><div>from command line of users and from Emacs.  The behavior was the same.<br></div><div><br></div><div>To summarize:<br></div><div>- a script launches ABCL from command line<br></div><div>- Emacs gives an Exec format error<br></div><div>- I did test for symbolic link effects and found none<br></div><div><br></div><div>Thoughts?<br><br></div><div>Thanks,<br><br></div><div>Mirko<br> </div><div><br></div></div></div></div></div></blockquote></div></div></div></div></div></div></div>