[sword-devel] diatheke was su
Troy A. Griffitts
Mon, 05 Feb 2001 15:34:09 -0700
Don't include the filename, just the directory.
You can also compile diatheke statically.
This might be better.
To do this. CD to where your sword source is.
edit the Makefile.cfg file
toggle to value for buildshare
save and exit
This will make diatheke compile all the sword code right in the
executable instead of looking for the shared library at runtime.
Hope this helps.
"Don A. Elbourne Jr." wrote:
> Thanks. There is part of my problem. I don't have permissions to edit the
> /etc/ld.so.conf file. Is there any way I can work around this? I don't have
> access to /usr/ either. My directories are down the tree at:
> When I telnet in, I can navigate up the tree and look at stuff, but I can't
> change anything. But I can do anything I want below /home/sites/site84/
> thanks for your help. I think I'm getting closer. If nothing else, I am
> learning a lot in the process.
> Don A. Elbourne Jr.
> > -----Original Message-----
> > From: firstname.lastname@example.org
> > [mailto:email@example.com]On Behalf Of Paul Gear
> > Sent: Monday, February 05, 2001 1:13 PM
> > To: firstname.lastname@example.org
> > Subject: Re: [sword-devel] diatheke was su
> > "Don A. Elbourne Jr." wrote:
> > >
> > > OK. Thanks.
> > >
> > > Actually, I don't know if I need to do su, because I am just
> > wanting to run
> > > Diatheke on my server. If I'm understanding how things work, I
> > don't even
> > > need to run "make install" after I have already run "make." Is
> > this correct?
> > > After running make I have the libsword.* files.
> > >
> > > I then wen on to compile diatheke. I ran make and it seemed to
> > work fine. I
> > > moved diatheke, libsword.so, and libsword.a to my /cgi-bin/.
> > Don't bother with libsword.a. Once the program is built, its job is
> > finished.
> > > But when I try
> > > to run diatheke, I get:
> > >
> > > ./diatheke: error in loading shared libraries: libsword.so: cannot open
> > > shared object file: No such file or directory
> > >
> > > In my limited knowledge of things, I'm assuming that
> > libsword.so is looking
> > > for a "shared object file" and that it or diatheke can not find
> > it. What is
> > > it, whet is it and is there a config file somewhere that I can
> > change to let
> > > diatheke know where to look?
> > Diatheke is the program doing the looking, and libsword.so is what it
> > can't find. You can help it find libsword.so by putting the directory
> > where it lives in /etc/ld.so.conf and running 'ldconfig -v', or by
> > setting LD_LIBRARY_PATH to include that directory. I recommend the
> > former, as it is less error-prone.
> > Paul
> > ---------
> > "He must become greater; i must become less." - John 3:30
> > http://www.bigfoot.com/~paulgear