PayFlow Pro on OS X
| From: | Sam | Date: | Thu, 02 Jan 2003 01:52:47 +0000 |
| Subject: | PayFlow Pro on OS X | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-129902@lists.php.net to get a copy of this message | ||
Following the instructions on www.php.net/manual/en/ref.pfpro.php:
" Copy the header file pfpro.h to /usr/local/include and the library file
libpfpro.so to /usr/local/lib. AND
These functions are only available if PHP has been compiled with the
--with-pfpro[=DIR] option. "
So I: # ./configure --with-pfpro=/usr/local
If barfs:
checking for Verisign Payflow Pro support... yes
checking for pfproInit in -lpfpro... no
checking for PNInit in -lpfpro... no
configure: error: The pfpro extension requires version 2 or 3 of the SDK
I'm using the FreeBSD SDK. The # perl Makefile.PL
Warning: -L./lib changed to -L/Users/sams/freebsd/perl/./lib
Warning: -L. changed to -L/Users/sam/freebsd/perl/.
Note (probably harmless): No library found for -lpfpro
Note (probably harmless): No library found for -lMSVCRT
Writing Makefile for PFProAPI
make and then finally it all goes very badly at:
[ns:/freebsd/perl] root# make test
PERL_DL_NONLAZY=1 LD_LIBRARY_PATH= /usr/bin/perl -Iblib/arch -Iblib/lib
-I/System/Library/Perl/darwin -I/System/Library/Perl test.pl
1..2
dyld: /usr/bin/perl Undefined symbols:
blah...blah
Endlessly searching google turns up something about OS X doesn't do XSUBS or
dynamic library something or other.
Has anyone survived this? Any tips?
Thanks,
Sam