Re: 8.3 to 8.4 - Can't load dynamic shared library

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Craig James <craig_james(at)emolecules(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: 8.3 to 8.4 - Can't load dynamic shared library
Date: 2010-07-15 19:52:15
Message-ID: 10698.1279223535@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Craig James <craig_james(at)emolecules(dot)com> writes:
> On the Postgres 8.3 system, I simply put libopenbabel.so into the /usr/local/pgsql/lib directory, and everything worked well. On 8.4, I can't seem to get it to load libopenbabel.so. Other programs that use this library have no trouble finding it.

> What (if anything) has changed from 8.3 to 8.4 regarding how it finds
and links dynamic libraries?

Nothing. I think this more likely is a consequence of your platform
switch from Fedora to Ubuntu. I'm not sure how the dynamic linker's
search path is defined on Ubuntu, but it might be different. Or
possibly it's the same but you forgot about making an /etc/ld.so.conf.d
entry on the new machine, or didn't run ldconfig afterwards.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Craig James 2010-07-15 20:39:37 Re: 8.3 to 8.4 - Can't load dynamic shared library
Previous Message Kevin Grittner 2010-07-15 19:34:11 Re: tablespaces