[OPEN-ILS-DEV] am I close?

Dan Scott denials at gmail.com
Thu May 10 14:52:20 EDT 2007


On 10/05/07, Hennie Rautenbach <hennie at sabinet.co.za> wrote:
> Rene Paquin wrote:
> > It turns out to be a very minor config miss as one of the localhost
> > settings was missed.  Now the starting of the ils appears to run clean
> > however I get this at the end of the osrfsys.log file
> >
> > opensrf 2007-05-10 14:22:53 [INFO:31760:osrf_application.c:15:]
> > Registering application open-ils.reporter-store with file oils_rstore.so
> > opensrf 2007-05-10 14:22:56 [WARN:31760:osrf_application.c:22:] Failed
> > to dlopen library file oils_rstore.so: libdbdpgsql.so: cannot open
> > shared object file: No such file or directory
> >
> > Is this a problem?
> >
>
> Yes, it appears Debian and Ubuntu has similar problems finding the
> libraries. Fixing the library search path should solve it but I haven't
> figured out where to do that yet :-)
>
>

Ubuntu 7.04 instructions
(http://open-ils.org/dokuwiki/doku.php?id=installing_prerequisites_on_ubuntu_7.04)
say:

Create a file named /etc/ld.so.conf.d/evergreen.conf with the
following lines in it:
/usr/local/lib
/usr/local/lib/dbd
/openils/lib

 To make this ld setting active run:
sudo ldconfig

... then ...

Add the following lines to the top of /openils/bin/autogen.sh and
/openils/bin/osrf_ctl.sh (after the #!/bin/bash line):
export PATH=$PATH:/openils/bin
export PERL5LIB=/openils/lib/perl5
export LD_LIBRARY_PATH=/openils/lib

There are other ways to accomplish this, but this is one of the
simplest and least intrusive. The last line would be unnecessary if
all the openils/lib files were named lib***.so, but they are not, so
ldconfig doesn't pick them all up.

-- 
Dan Scott
Laurentian University


More information about the Open-ils-dev mailing list