From: Sam Griffith Date: 2003-05-13T03:44:12+09:00 Subject: Re: Ruby, OSX and Postgres Sure can... (And this is from using Ruby-sumo package for OS X... I did it with just the RAA files and had exactly the same results...) and I used the PostgreSQL pkg built from this site... http://www.entropy.ch/software/macosx/postgresql Does it not build all the libraries or something? I did a 'nm "PQsetdbLogin" on the libpq.a file in the /usr/local/pgsql/lib directory of postgres and it seems that the symbol is defined as a Text symbol... I'm at a loss though. Thanks so much for helping me.... "No make file is created" ----------- \ ruby extconf.rb --with-pgsql-include-dir=/usr/local/pgsql/include \ --with-pgsql-lib-dir=/usr/local/pgsql/lib? --with-pgsql-lib-dir=/usr/local/pgsql/lib checking for cygwin32_socket() in -lwsock32... no checking for socket() in -lsocket... no checking for gethostbyname() in -linet... no checking for gethostbyname() in -lnsl... no checking for sys/un.h... yes checking for socket()... yes checking for hsterror()... no checking for gethostname()... yes Using PostgreSQL include directory: /usr/local/pgsql/include Using PostgreSQL lib directory: /usr/local/pgsql/lib checking for PQsetdbLogin() in -lpq... no Could not find PostgreSQL libraries: Makefile not created --------- Here are the contents of my /usr/local/pgsql/lib directory: ascii_and_mic.so libpgtcl.so.2 utf8_and_euc_kr.so cyrillic_and_mic.so libpgtcl.so.2.3 utf8_and_euc_tw.so euc_cn_and_mic.so libpq.a utf8_and_gb18030.so euc_jp_and_sjis.so libpq.so utf8_and_gbk.so euc_kr_and_mic.so libpq.so.3 utf8_and_iso8859.so euc_tw_and_big5.so libpq.so.3.0 utf8_and_iso8859_1.so latin2_and_win1250.so plperl.so utf8_and_johab.so latin_and_mic.so plpgsql.so utf8_and_sjis.so libecpg.a pltcl.so utf8_and_tcvn.so libecpg.so utf8_and_ascii.so utf8_and_uhc.so libecpg.so.3 utf8_and_big5.so utf8_and_win1250.so libecpg.so.3.4.1 utf8_and_cyrillic.so utf8_and_win1256.so libpgtcl.a utf8_and_euc_cn.so utf8_and_win874.so libpgtcl.so utf8_and_euc_jp.so ------------------ Thanks so much, Sam Griffith Jr. staypufd@mac.com On 5/12/2003 12:40 PM, in article pan.2003.05.12.17.40.07.328640@sneakemail.com, "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> wrote: > On Mon, 12 May 2003 17:13:21 +0000, Sam Griffith wrote: > >> Hello, >> >> I'm looking for some help getting Postgres, Ruby and OS X working right on >> OS X 10.2.6. >> >> I've installed Postgres for OS X from: >> >> http://www.entropy.ch/software/macosx/postgresql/ >> >> And then try to install the PostgresRuby modules from the RAA and I get >> errors telling me that certain functions aren't found... > > > Can you show us some output containing these errors ? > > > -- > Simon Strandgaard