Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 49CD9632411 for ; Thu, 15 Jul 2010 16:52:25 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 65309-02 for ; Thu, 15 Jul 2010 19:52:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 07E21632D49 for ; Thu, 15 Jul 2010 16:52:17 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o6FJqFig010699; Thu, 15 Jul 2010 15:52:16 -0400 (EDT) To: Craig James cc: pgsql-admin@postgresql.org Subject: Re: 8.3 to 8.4 - Can't load dynamic shared library In-reply-to: <4C3F583C.50208@emolecules.com> References: <4C3F583C.50208@emolecules.com> Comments: In-reply-to Craig James message dated "Thu, 15 Jul 2010 11:49:32 -0700" Date: Thu, 15 Jul 2010 15:52:15 -0400 Message-ID: <10698.1279223535@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/92 X-Sequence-Number: 35111 Craig James 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