Constantin Teodorescu wrote:
> > > What will i need ??? Where to get it ??? Where is libcrypt.so and what
> > > does 'link it' means in that context...
>
> must be in /lib directory.
Nope! I can't find it.
> Adding a -lcrypt near -lpq in Makefile (didn't recall because I was
> compiling PostgreSQL on RedHat 5.0 just once ... some time ago). Anyone
> using RedHat 5.0 could help ?
I adding '-lcrypt' to the LDFLAGS_SL flag in the libpq makefile, it got:
ld -lcrypt -shared -soname libpq.so.1 -o libpq.so.1. fe-auth.o fe-connect.o
fe-exec.o fe-misc.o fe-lobj.o dllist.o pqsignal.o pqcomprim.o
ld: cannot open -lcrypt: No such file or directory
make[1]: *** [libpq.so.1.] Error 1
make[1]: Leaving directory
`/usr/src/pgsql/postgresql-6.3.2/src/interfaces/libpq'
make: *** [all] Error 2
Regards,
Doug.