I took your advice but it looks like all the library dependancies are satisfied.
What's even more infuriating is that I got this to work once before, but I must
has missed something while originally documenting my steps because now I've
followed it precisely and it won't work :-(
Any other ideas? Thanks for your input, everyone.
-Cliff
On Wed, 21 May 2003 10:20:45 -0400, Tom Lane wrote:
>
> 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