Got the following errors on make test trying to compile Pg via CPAN. Looks like it can't find the header files though POSTGRES_INCLUDE is set correctly in the environment.
Postgres 7.2.3 is running ok. Did the make test as user postgres with postmaster running. Also tried running a perl script and get the same undefined symbols error. Anyone have a clue (I'm no expert with gcc) ? Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lpq Writing Makefile for Pg cp Pg.pm blib/lib/Pg.pm AutoSplitting blib/lib/Pg.pm (blib/lib/auto/Pg) /usr/bin/perl /Library/Perl/ExtUtils/xsubpp -typemap /Library/Perl/ExtUtils/typemap -typemap typemap Pg.xs > Pg.xsc && mv Pg.xsc Pg.c cc -c -I/usr/local/pgsql/include -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -O3 -DVERSION=\"1.9.0\" -DXS_VERSION=\"1.9.0\" "-I/Library/Perl/darwin-thread-multi/CORE" Pg.c Running Mkbootstrap for Pg () chmod 644 Pg.bs rm -f blib/arch/auto/Pg/Pg.bundle LD_RUN_PATH="" cc -flat_namespace -bundle -undefined suppress -L/usr/local/lib Pg.o -o blib/arch/auto/Pg/Pg.bundle chmod 755 blib/arch/auto/Pg/Pg.bundle cp Pg.bs blib/arch/auto/Pg/Pg.bs chmod 644 blib/arch/auto/Pg/Pg.bs Manifying blib/man3/Pg.3 /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl dyld: /usr/bin/perl Undefined symbols: _PQbackendPID _PQbinaryTuples _PQclear _PQcmdStatus _PQcmdTuples <snip> _lo_tell _lo_unlink _lo_write make: *** [test_dynamic] Trace/BPT trap /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force -- Randall Perry sysTame Xserve Web Hosting/Co-location Website Development/Promotion Mac Consulting/Sales http://www.systame.com/