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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-interfaces by date

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