[Followups to comp.lang.scheme, since SIOD is really a Scheme, not a CL.]
J-P Theberge <email@example.com> 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:
| ld.so.1: /home/yesod/public_html/cgi-bin/siod: fatal: libsiod.so: 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 "libsiod.so"
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 firstname.lastname@example.org
Silicon Graphics, Inc. http://reality.sgi.com/rpw3/
2011 N. Shoreline Blvd. Phone: 415-933-1673 FAX: 415-933-0979
Mountain View, CA 94043 PP-ASEL-IA