ralphch has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I just moved to a new server, and the payment gateway running with the Perl API of LinkPoint.com isn't working. I've placed the liblperl.so and liblpssl.so modules in a directory @INC, but whenever I try to order I get an Internal Server Error:

[Fri Sep 09 18:24:41 2005] [error] [client 200.89.173.241] /libexec/ld +-elf.so.1: /usr/local/psa/home/vhosts/fotofama.com/httpdocs/e-photo/c +gi-bin/CPAN/liblperl.so: Undefined symbol "perl_get_sv", referer: htt +ps://www.fotofama.com/e-photo/cgi-bin/imageCart.cgi?target=checkout [Fri Sep 09 18:24:41 2005] [error] [client 200.89.173.241] Premature e +nd of script headers: imageCart.cgi, referer: https://www.fotofama.co +m/e-photo/cgi-bin/imageCart.cgi?target=checkout

I'm not sure what to make out of this error, if it's something with the liblperl.so module not installed correctly (how about the "Undefined symbol perl_get_sv"?).

I would really appreciate any ideas regarding this error.

Thanks,
Ralph

Replies are listed 'Best First'.
Re: LinkPoint Perl API payment gateway problem
by ralphch (Sexton) on Sep 11, 2005 at 13:17 UTC

    Hi, I was able to fix this issue by making the LinkPoint payment gateway use cURL instead of the liblperl.so and liblpssl.so libraries. After doing some research, I read that the "Undefined symbol perl_get_sv" error is because Perl 5.8.6 no longer has the perl_get_sv method incorporated. Please correct me if I'm wrong. Thanks for your help!

    Regards,
    Ralph

      Help. I have the same problem after updating to perl 5.8.8 and it took Linkpoint 5 days to tell me that they don't support it. I am wanting to use cURL, and have it installed, but linkpoint can't tell me how to get their api to use it instead of their outdated .so files. Can anyone tell me what to do to switch their API to use cURL? Thanks, Marshall
Re: LinkPoint Perl API payment gateway problem
by Anonymous Monk on Sep 10, 2005 at 07:31 UTC
    Why did you placed the liblperl.so and liblpssl.so modules in a directory @INC?

    If you have different perls installed on one machine, you need to separate them in different directories to avoid problems like this.

      Hi, thanks for your reply! I don't quite understand what you mean though. Is there a special way to install the liblperl.so and liblpssl.so modules? I've noticed there are two Perl versions on my system (5.8.5 and 5.8.6), the latter being functional.

      Thanks,
      Ralph