X-Original-To: pgsql-interfaces@postgresql.org Received: from localhost (unknown [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id AA1FA924E97 for ; Wed, 21 May 2003 10:51:18 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 25049-08 for ; Wed, 21 May 2003 10:50:47 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by developer.postgresql.org (Postfix) with ESMTP id 4176C9250FF for ; Wed, 21 May 2003 10:20:50 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h4LEKjU6006923; Wed, 21 May 2003 10:20:45 -0400 (EDT) To: cliff@cliffmeyers.com Cc: pgsql-interfaces@postgresql.org Subject: Re: trouble with mod_auth_pgsql In-reply-to: <20030520211432.10782.h014.c001.wm@mail.cliffmeyers.com.criticalpath.net> References: <20030520211432.10782.h014.c001.wm@mail.cliffmeyers.com.criticalpath.net> Comments: In-reply-to cliff@cliffmeyers.com message dated "Tue, 20 May 2003 21:14:31 -0700" Date: Wed, 21 May 2003 10:20:45 -0400 Message-ID: <6922.1053526845@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/44 X-Sequence-Number: 4162 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