From: gregarican Date: 2005-08-12T21:51:12+09:00 Subject: Re: Ruby-Postgres-0.7.1 Installation Question gregarican wrote: > I am getting closer to stumbling onto this. I had to edit the > rbconfig.rb file that came with my Zaurus Ruby install so that the > correct gcc was being referenced. Next I had to monkey with the > LD_LIBRARY_PATH so that the proper library files are found. Now I have > the problem where the -lruby-static portion of the extconf.rb script is > failing. I assume that I will need the Ruby static libraries in order > to complete this installation? I googled around and found that I needed to comment out the reference to static ruby libs in the rbconfig.rb. Now that I did so I get an error in the mkmf.log stating that when trying the have_library 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 :-)