pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: cliff@cliffmeyers.com
Cc: pgsql-interfaces@postgresql.org
Subject: Re: trouble with mod_auth_pgsql
Date: Wed, 21 May 2003 10:20:45 -0400
Message-ID: <6922.1053526845@sss.pgh.pa.us> (raw)
In-Reply-To: <20030520211432.10782.h014.c001.wm@mail.cliffmeyers.com.criticalpath.net>
References: <20030520211432.10782.h014.c001.wm@mail.cliffmeyers.com.criticalpath.net>

cliff@cliffmeyers.com writes:
> I get this error during apache's make:

> gcc  -DLINUX=22 -DUSE_HSREGEX -DNO_DL_NEEDED `../apaci`   -o gen_test_char
> gen_test_char.o  -L/usr/local/pgsql/lib/ -lpq  -lm -lcrypt -lexpat
> ./gen_test_char >test_char.h
> ./gen_test_char: error while loading shared libraries: libpq.so.3: cannot open
> shared object file: No such file or directory

> However, /usr/local/pgsql/lib/libpq.so.3 DOES in fact exist on my system.

Dynamic linker messages are notoriously awful :-(.  I suspect that this
message is misleading you.  Perhaps the problem is not that it can't
find libpq.so.3 but that it can't find some other library that
libpq.so.3 depends on.  Try "ldd" on libpq.so.3 and see if it shows any
library references that aren't resolved.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <6922.1053526845@sss.pgh.pa.us>
Permalink:  ../6922.1053526845@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6922.1053526845@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-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, cliff@cliffmeyers.com
  Subject: Re: trouble with mod_auth_pgsql
  In-Reply-To: <6922.1053526845@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