Subject: Re: Problem with Siod
From: (Rob Warnock)
Date: 1996/12/10
Newsgroups: comp.lang.lisp,comp.lang.scheme
Message-ID: <58iume$>

[Followups to comp.lang.scheme, since SIOD is really a Scheme, not a CL.]

J-P Theberge  <> wrote:
| I would like to use SIOD a a scripting language for CGI scripting...
| From the shell, everything is fine, siod is a very nice little thing but
| when i invoque if as a cgi with my browser, i got the following message:
| /home/yesod/public_html/cgi-bin/siod: fatal: can't
| open file: errno=2 

That means that the SIOD main program couldn't find "the rest" of SIOD,
which is a dynamic shared object library (DSO, or ".so"). When you were
running it "from the shell", you were probably in the directory where
you built it, whereas when your HTTP server ran it, it was in some other
directory and probably had a very different $PATH and different UID.

Find out where on your system "local" DSOs go (which will depend on the
default search path for "rld" on your system) and put a copy of ""
there, and make it readable & executable by everyone. That will probably
fix the problem.

If not, you'll have to do further playing with the linker options when
you build "siod" itself. Do "man ld" and go from there...


Rob Warnock, 7L-551
Silicon Graphics, Inc.
2011 N. Shoreline Blvd.		Phone: 415-933-1673  FAX: 415-933-0979
Mountain View, CA  94043	PP-ASEL-IA