From: Tom Lane <tgl@sss.pgh.pa.us>
To: Xinyu Hua <xhua@cse.ucsc.edu>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: libpq.so.3 not found
Date: Mon, 08 Sep 2003 23:41:35 -0400
Message-ID: <20177.1063078895@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.GSO.4.44.0309082034370.788-100000@sundance.cse.ucsc.edu>
References: <Pine.GSO.4.44.0309082034370.788-100000@sundance.cse.ucsc.edu>
Xinyu Hua <xhua@cse.ucsc.edu> writes:
> Tom, I think all the libraries that libpq.so needs are right there. Please
> see the following:
> libresolv.so.2 => /usr/lib/libresolv.so.2
> libsocket.so.1 => /usr/lib/libsocket.so.1
> libnsl.so.1 => /usr/lib/libnsl.so.1
> libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
Almost certainly, the problem is that /usr/local/lib/ isn't getting
searched and so libgcc_s.so isn't found. This sort of problem is easily
hit because different bits of code have different ideas about where to
search for shared libraries. I think ldd pays attention to
LD_LIBRARY_PATH, but gcc only pays attention to -L switches.
regards, tom lane
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-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, xhua@cse.ucsc.edu
Subject: Re: libpq.so.3 not found
In-Reply-To: <20177.1063078895@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