From: J-P Theberge
Subject: Problem with Siod
Date: 
Message-ID: <32A9271E.4441@mlink.net>
Hi,

I would like to use SIOD a a scripting language for CGI scripting as
peoples from this newsgroup propose me to do.

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 

Can somebody give me a hint about what is wrong, i'm not very skilled
with C compilation and library stuff..

Thanks

JP Theberge
·····@cam.org
From: Rob Warnock
Subject: Re: Problem with Siod
Date: 
Message-ID: <58iume$8mr@tokyo.engr.sgi.com>
[Followups to comp.lang.scheme, since SIOD is really a Scheme, not a CL.]

J-P Theberge  <·····@mlink.net> 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

-----
Rob Warnock, 7L-551		····@sgi.com
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