Page 1 of 1
Verisign Payflow-- anyone???
Posted: Mon Oct 07, 2002 5:48 pm
by oraknabo
I don't see a lot of advanced stuff here, so this may not be the right place to ask, but I'll give it a shot:
On Red Hat:
I'm trying to compile PHP with payflow. I uzpped/untarred the verisign files into /usr/local and used "--with pfpro=/usr/local/payflowpro/linux" in the PHP config options.
The configure script works fine but then I get "/usr/bin/ld: cannot find
-lpfpro" when running make.
Anyone encountered this? I wrote to Verisign and got "Payflow Pro can work with PHP. However, it is not officially supported by VeriSign."
I've searched everywhere, found all sorts of problems people have had with PfPro, but never this exact issue.
Posted: Mon Oct 07, 2002 6:31 pm
by volka
haven't tried this module (to be honest: never heard of it at all

) but....
looks like pfpro.so is not in your library path.
Maybe there's a README-file contained in the tarball with instructions what to do after unpacking the files (add path to default-library-path, etc.)
if not:
Search for that file and add the path manually to the LDFLAGS.
try (i.e.)
[find /usr/local/payflowpro -name libpfpro.so -print --> /usr/local/payflowpro/linux/lib/libpfpro.so --> ]
LDFLAGS=-L/usr/local/payflowpro/linux/lib make
edit: just checked the the manual
http://www.php.net/manual/en/ref.pfpro.php[quote]Once you have downloaded the SDK you should copy the files from the lib directory of the distribution. Copy the header file pfpro.h to /usr/local/include and the library file libpfpro.so to /usr/local/lib[/quote]now that are two pathes that are both in include-path and library-path for sure and I would do it

Yes!
Posted: Mon Oct 07, 2002 7:36 pm
by oraknabo
Thank you.
I tried just copying the file to the include dir and that appears to have done the trick.
Posted: Mon Oct 07, 2002 10:09 pm
by volka
lucky us - it wasn't too advanced for this forum

Posted: Tue Oct 08, 2002 12:22 am
by oraknabo
It's just a rare option and most of the posts I saw in this section weren't quite on the level of compiling source code. I don't have any idea what things are like here in the long term.
I 'll tell you it's been really hard finding good documentation on this. I had checked all over usenet and google searches and I had read the PHP manual, but missed that one detail you posted. I hope VeriSign will compile a little more info on this thing for future PHP developers. The readme files have all been useless.
Posted: Tue Oct 08, 2002 7:24 am
by volka
never mind - I was just kidding