ABCL startup script gives exec error in slime, but not on command line

Mirko Vukovic mirko.vukovic at gmail.com
Fri Sep 9 14:30:03 UTC 2016


Hello,

I am trying to get ABCL running under Slime on Linux (RHEL6).  I already
have it running
on Windows 10.

I wrote the following script (abcl.sh) to launch it:
java \
     -cp  /usr/local/share/java/abcl.jar \
     org.armedbear.lisp.Main

The script resides in /usr/local/bin, and it successfully launches ABCL
from the command line of
system-administrator (who installs the software) and other users.

However, in Emacs/slime (latest), I get

emacs: /usr/local/bin/abcl.sh: Exec format error

Process inferior-lisp exited abnormally with code 126

The definition of abcl resides in local-lisp-implementations:
((abcl ("/usr/local/bin/abcl.sh")) (sbcl ("/usr/local/bin/sbcl")))

Actually there is a symbolic link involved: abcl.sh resides in sys-admins
directory, and
/usr/local/bin/abcl.sh is a symbolic link to it.  I did try pointing to the
script itself, both
from command line of users and from Emacs.  The behavior was the same.

To summarize:
- a script launches ABCL from command line
- Emacs gives an Exec format error
- I did test for symbolic link effects and found none

Thoughts?

Thanks,

Mirko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20160909/39377d17/attachment.html>


More information about the slime-devel mailing list