[OPEN-ILS-DEV] Startup errors

Dan Wells dbw2 at calvin.edu
Mon Jun 4 18:02:39 EDT 2007


Hello Hennie,

>        libdbi.so.0 => /usr/lib/libdbi.so.0 (0xb7f56000)

>opensrf at leo:~$ echo $LD_LIBRARY_PATH
>/openils/lib:/usr/lib/dbd:/usr/local/lib:

I would say you definitely have a problem with your libdbi setup still.  The error message you are getting is a direct result of a failing libdbi function call (specifically, dbi_conn_new(pgsql), which creates a new connection using the PostgreSQL driver).

One thing which worries me a bit is that it looks like your current libdbi.so is residing directly in /usr/lib with the drivers in /usr/lib/dbd, yet you still have /usr/local/lib in your LD path (emphasis on *local*).  What may be happening is that you still have an older/broken version of libdbi in /usr/local/lib which you are inadvertently trying to use with newer drivers in /usr/lib/dbd.  One thing worth trying would be to simply remove /usr/local/lib from your LD_LIBRARY_PATH and see if that clears things up.  If that doesn't work, rather than trying to untangle things, perhaps you should remove any and all versions of both libdbi.so and libdbdpgsql.so and try compiling and installing them again.  They are not especially large or complicated compiles.

Hope this helps,
DW



More information about the Open-ils-dev mailing list