On 4/26/05, will <will / willj.net> wrote:
> make
> gcc -fPIC   -I. -I/usr/local/lib/ruby/1.8/i686-linux
> -I/usr/local/lib/ruby/1.8/i686-linux -I. -DHAVE_SYS_UN_H -DHAVE_SOCKET
> -DHAVE_GETHOSTNAME -DHAVE_PQSETCLIENTENCODING -DHAVE_PG_ENCODING_TO_CHAR
> -DHAVE_PQESCAPESTRING  -c postgres.c
> gcc -shared  -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -o postgres.so
> postgres.o  -lpq -lnsl  -ldl -lcrypt -lm   -lc

after running make, do you have a postgres.so file in your directory?

Dave