4 Mar 2005 20:44
alien.so / distributing a standalone SBCL app
Keith Irwin <keith.irwin <at> gmail.com>
2005-03-04 19:44:11 GMT
2005-03-04 19:44:11 GMT
Folks--
I've built an application I'd like to deploy on a server that doesn't
have SBCL installed. To do this, I have a build script which loads
the code, saves an image, creates a tarball containing the image core,
the sbcl binary runtime, some config files and a bash script for
properly invoking sbcl to run the app. (It's a command-line app.)
Thing is, the app uses sb-bsd-sockets. Works really well when I run
it on my development machine where SBCL (.8.20) is installed.
HOWEVER, I get this error on the non-sbcl machine:
----
error: Could not open shared object #S(SB-ALIEN::SHARED-OBJECT
:FILE
"/usr/local/lib/sbcl/sb-bsd-sockets/alien.so"
:SAP NIL):
/usr/local/lib/sbcl/sb-bsd-sockets/alien.so: cannot open shared object
file: No such file or directory
----
Seems clear to me that the socket libs depend on a foreign lib. In
other words, I understand the prob, here. I tried including alien.so
with the distribution, and I tried setting SBCL_HOME to the directory
where I want my code to find the alien.so file, but no go. The above
/usr/local path seems hard coded in.
(Continue reading)
RSS Feed