FAQ
From: age at salsashark dot net
Operating system: RedHat Linux 9
PHP version: 4.3.2
PHP Bug Type: Compile Failure
Bug description: pfpro support compile fails, reports incorrect pfpro version

PFpro libs are current, version 3.06. PHP compiled fine in RedHat 7.3. Same
errors on another clean install of RH 9 with PHP 4.3.2 and 4.3.1.
./configure --with-pfpro=shared,/usr/local/lib
Fails, returns:

configure: error: The pfpro extension requires version 2 or 3 of the SDK


config.log:

configure:61887: checking for pfproInit in -lpfpro
configure:61906: gcc -o conftest -g -O2
-L/usr/local/lib
conftest.c -lpfpro -lresolv -lm -ldl -lnsl 1>&5
/usr/local/lib/libpfpro.so: undefined reference to `__ctype_b'
/usr/local/lib/libpfpro.so: undefined reference to `__ctype_tolower'
collect2: ld returned 1 exit status
configure: failed program was:
#line 61895 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char pfproInit();

int main() {
pfproInit()
; return 0; }
configure:61939: checking for PNInit in -lpfpro
configure:61958: gcc -o conftest -g -O2
-L/usr/local/lib
conftest.c -lpfpro -lresolv -lm -ldl -lnsl 1>&5
/usr/local/lib/libpfpro.so: undefined reference to `__ctype_b'
/usr/local/lib/libpfpro.so: undefined reference to `__ctype_tolower'
collect2: ld returned 1 exit status
configure: failed program was:
#line 61947 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char PNInit();

int main() {
PNInit()
; return 0; }

Search Discussions

  • Sniper at Jun 6, 2003 at 7:15 am
    ID: 24042
    Updated by: sniper@php.net
    Reported By: age at salsashark dot net
    -Status: Open
    +Status: Bogus
    Bug Type: Compile Failure
    Operating System: RedHat Linux 9
    PHP Version: 4.3.2
    New Comment:

    The pfpro libs are not compatible with RH9. (different glibc)
    (and you should use --with-pfpro=shared,/usr/local too)

    Not PHP bug.



    Previous Comments:
    ------------------------------------------------------------------------

    [2003-06-05 10:56:10] age at salsashark dot net

    PFpro libs are current, version 3.06. PHP compiled fine in RedHat 7.3.
    Same errors on another clean install of RH 9 with PHP 4.3.2 and 4.3.1.
    ./configure --with-pfpro=shared,/usr/local/lib
    Fails, returns:

    configure: error: The pfpro extension requires version 2 or 3 of the
    SDK


    config.log:

    configure:61887: checking for pfproInit in -lpfpro
    configure:61906: gcc -o conftest -g -O2
    -L/usr/local/lib
    conftest.c -lpfpro -lresolv -lm -ldl -lnsl 1>&5
    /usr/local/lib/libpfpro.so: undefined reference to `__ctype_b'
    /usr/local/lib/libpfpro.so: undefined reference to `__ctype_tolower'
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 61895 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char pfproInit();

    int main() {
    pfproInit()
    ; return 0; }
    configure:61939: checking for PNInit in -lpfpro
    configure:61958: gcc -o conftest -g -O2
    -L/usr/local/lib
    conftest.c -lpfpro -lresolv -lm -ldl -lnsl 1>&5
    /usr/local/lib/libpfpro.so: undefined reference to `__ctype_b'
    /usr/local/lib/libpfpro.so: undefined reference to `__ctype_tolower'
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 61947 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char PNInit();

    int main() {
    PNInit()
    ; return 0; }

    ------------------------------------------------------------------------


    --
    Edit this bug report at http://bugs.php.net/?id=24042&edit=1
  • Toddclark at trainorders dot com at Jan 10, 2004 at 9:23 pm
    ID: 24042
    Comment by: toddclark at trainorders dot com
    Reported By: age at salsashark dot net
    Status: Bogus
    Bug Type: Verisign Payflow Pro related
    Operating System: RedHat Linux 9
    PHP Version: 4.3.2
    New Comment:

    I have Redhat 9 and I received the same error while installing php
    4.3.4 with the pfpro flag.

    So I went into the php museum and downloaded and installed 4.2.3 and
    all works great now.

    As for sniper@php.net I don't know what you define as a bug, but I call
    anything that works in older versions, but broken in a more up to date
    version a bug.


    Previous Comments:
    ------------------------------------------------------------------------

    [2003-06-06 02:15:18] sniper@php.net

    The pfpro libs are not compatible with RH9. (different glibc)
    (and you should use --with-pfpro=shared,/usr/local too)

    Not PHP bug.


    ------------------------------------------------------------------------

    [2003-06-05 10:56:10] age at salsashark dot net

    PFpro libs are current, version 3.06. PHP compiled fine in RedHat 7.3.
    Same errors on another clean install of RH 9 with PHP 4.3.2 and 4.3.1.
    ./configure --with-pfpro=shared,/usr/local/lib
    Fails, returns:

    configure: error: The pfpro extension requires version 2 or 3 of the
    SDK


    config.log:

    configure:61887: checking for pfproInit in -lpfpro
    configure:61906: gcc -o conftest -g -O2
    -L/usr/local/lib
    conftest.c -lpfpro -lresolv -lm -ldl -lnsl 1>&5
    /usr/local/lib/libpfpro.so: undefined reference to `__ctype_b'
    /usr/local/lib/libpfpro.so: undefined reference to `__ctype_tolower'
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 61895 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char pfproInit();

    int main() {
    pfproInit()
    ; return 0; }
    configure:61939: checking for PNInit in -lpfpro
    configure:61958: gcc -o conftest -g -O2
    -L/usr/local/lib
    conftest.c -lpfpro -lresolv -lm -ldl -lnsl 1>&5
    /usr/local/lib/libpfpro.so: undefined reference to `__ctype_b'
    /usr/local/lib/libpfpro.so: undefined reference to `__ctype_tolower'
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 61947 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char PNInit();

    int main() {
    PNInit()
    ; return 0; }

    ------------------------------------------------------------------------


    --
    Edit this bug report at http://bugs.php.net/?id=24042&edit=1
  • Shiflett at Jan 20, 2004 at 9:26 pm
    ID: 24042
    Updated by: shiflett@php.net
    Reported By: age at salsashark dot net
    Status: Bogus
    Bug Type: Verisign Payflow Pro related
    Operating System: RedHat Linux 9
    PHP Version: 4.3.2
    New Comment:

    For those who are receiving this error on Red Hat 9, you should contact
    Verisign for an SDK specifically for Red Hat 9. At the time of this
    post, this is only possible if you call or email them:

    888-883-9770 or vps-support@verisign.com


    Previous Comments:
    ------------------------------------------------------------------------

    [2004-01-10 16:18:08] toddclark at trainorders dot com

    I have Redhat 9 and I received the same error while installing php
    4.3.4 with the pfpro flag.

    So I went into the php museum and downloaded and installed 4.2.3 and
    all works great now.

    As for sniper@php.net I don't know what you define as a bug, but I call
    anything that works in older versions, but broken in a more up to date
    version a bug.

    ------------------------------------------------------------------------

    [2003-06-06 02:15:18] sniper@php.net

    The pfpro libs are not compatible with RH9. (different glibc)
    (and you should use --with-pfpro=shared,/usr/local too)

    Not PHP bug.


    ------------------------------------------------------------------------

    [2003-06-05 10:56:10] age at salsashark dot net

    PFpro libs are current, version 3.06. PHP compiled fine in RedHat 7.3.
    Same errors on another clean install of RH 9 with PHP 4.3.2 and 4.3.1.
    ./configure --with-pfpro=shared,/usr/local/lib
    Fails, returns:

    configure: error: The pfpro extension requires version 2 or 3 of the
    SDK


    config.log:

    configure:61887: checking for pfproInit in -lpfpro
    configure:61906: gcc -o conftest -g -O2
    -L/usr/local/lib
    conftest.c -lpfpro -lresolv -lm -ldl -lnsl 1>&5
    /usr/local/lib/libpfpro.so: undefined reference to `__ctype_b'
    /usr/local/lib/libpfpro.so: undefined reference to `__ctype_tolower'
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 61895 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char pfproInit();

    int main() {
    pfproInit()
    ; return 0; }
    configure:61939: checking for PNInit in -lpfpro
    configure:61958: gcc -o conftest -g -O2
    -L/usr/local/lib
    conftest.c -lpfpro -lresolv -lm -ldl -lnsl 1>&5
    /usr/local/lib/libpfpro.so: undefined reference to `__ctype_b'
    /usr/local/lib/libpfpro.so: undefined reference to `__ctype_tolower'
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 61947 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char PNInit();

    int main() {
    PNInit()
    ; return 0; }

    ------------------------------------------------------------------------


    --
    Edit this bug report at http://bugs.php.net/?id=24042&edit=1

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-bugs @
categoriesphp
postedJun 5, '03 at 3:56p
activeJan 20, '04 at 9:26p
posts4
users3
websitephp.net

People

Translate

site design / logo © 2022 Grokbase