Anyone have any luck building do_postgres for postgresql 8.3.5 on os x?
pg_config is in my path, but I am getting this error in my mkmf.log:
have_library: checking for main() in -llibpq... -------------------- no
"/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-
darwin9.2.2 -I. -I/opt/local/include/postgresql83 -I/opt/local/include
-O2 -fno-common -pipe -fno-common conftest.c -L\".\" -L\"/opt/local/
lib\" -L\"/opt/local/lib/postgresql83\" -L. -L/opt/local/lib -
lruby-static -llibpq -lpthread -ldl -lobjc "
ld: library not found for -llibpq
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---