pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Craig James <craig_james@emolecules.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: 8.3 to 8.4 - Can't load dynamic shared library
Date: Thu, 15 Jul 2010 15:52:15 -0400
Message-ID: <10698.1279223535@sss.pgh.pa.us> (raw)
In-Reply-To: <4C3F583C.50208@emolecules.com>
References: <4C3F583C.50208@emolecules.com>

Craig James <craig_james@emolecules.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



view thread (6+ messages)  latest in thread

Message-ID: <10698.1279223535@sss.pgh.pa.us>
Permalink:  ../10698.1279223535@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10698.1279223535@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, craig_james@emolecules.com
  Subject: Re: 8.3 to 8.4 - Can't load dynamic shared library
  In-Reply-To: <10698.1279223535@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox