Skip site navigation (1) Skip section navigation (2)

Re: trouble with mod_auth_pgsql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: cliff(at)cliffmeyers(dot)com
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: trouble with mod_auth_pgsql
Date: 2003-05-21 14:20:45
Message-ID: 6922.1053526845@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-interfaces
cliff(at)cliffmeyers(dot)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

In response to

pgsql-interfaces by date

Next:From: cliffDate: 2003-05-21 14:55:07
Subject: Re: trouble with mod_auth_pgsql
Previous:From: cliffDate: 2003-05-21 14:11:52
Subject: Re: trouble with mod_auth_pgsql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group