From: ts Date: 2003-06-27T01:46:49+09:00 Subject: Re: have_library fails on SunOS 5.8 sun4u ?? >>>>> "a" == ahoward writes: a> i'm trying to compile the ruby-postgres package, and it seems that a> 'have_library' is not working on SunOS 5.8 sun4u?? The problem is not in have_library nasun% uname -srm SunOS 5.8 sun4u nasun% nasun% ruby extconf.rb --with-pgsql-dir=/usr/local/pgsql checking for cygwin32_socket() in -lwsock32... no checking for socket() in -lsocket... yes checking for gethostbyname() in -linet... no checking for gethostbyname() in -lnsl... yes checking for sys/un.h... yes checking for socket()... yes checking for hsterror()... no checking for gethostname()... yes checking for PQsetdbLogin() in -lpq... yes checking for PQsetClientEncoding()... yes checking for pg_encoding_to_char()... no checking for PQescapeString()... yes creating Makefile nasun% Look in the file mkmf.log to see the result of the command, and why it fail Guy Decoux