From: mail@... Date: 2005-08-13T05:36:12+09:00 Subject: Re: Ruby-Postgres-0.7.1 Installation Question gregarican wrote: > function for socket() the ld program can't find -lsocket. Is this > referring to the Ruby socket.so file or some socket file that should be > present in the PostgreSQL installation directories? I don't have > PostgreSQL compiled on the system. I just have the source code > directories since they have the include and lib directories that I > thought Ruby would need in order to install ruby-postgres-0.7.1. What > exactly is the extconf.rb script looking for when it's trying to find > socket()? If anyone could point me in the right direction (i.e. - Ruby > or PostgreSQL) I'd be eternally grateful :-) A guess: Glibc 2.0. Postgres has PQsocket. I have postgres-0.7.1 installed on a normal Linux system and there mkmf.log contains also errors about not being able to find -lsocket or socket(). The Ruby socket lib itself uses socket@@GLIBC_2.0