#26360 [Fbk->Opn]: PHP won't install when compiled with OpenLDAP 2.1.22

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default #26360 [Fbk->Opn]: PHP won't install when compiled with OpenLDAP 2.1.22

    ID: 26360
    User updated by: mike at blackchaos dot net
    Reported By: mike at blackchaos dot net
    -Status: Feedback
    +Status: Open
    Bug Type: LDAP related
    Operating System: Solaris 8 on SPARC
    PHP Version: 4.3.4
    New Comment:

    Here's the configure line I used:

    ../configure --with-apxs=/usr/local/apache/bin/apxs
    --with-ldap=/usr/local --with-gdbm=/usr/local
    --with-mysql=/usr/local/mysql --enable-track-vars --enable-sysvshm
    --enable-force-cgi-redirect --enable-ftp --with-gd
    --with-png-dir=/usr/local --with-xpm-dir=/usr/local --with-gettext
    --with-jpeg-dir=/usr/local --with-zlib --with-tiff-dir=/usr/local
    --with-snmp=/usr/local --enable-ucd-snmp-hack
    --with-freetype-dir=/usr/local


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

    [2003-11-22 20:21:51] [email]sniper@php.net[/email]

    Please provide the full configure line you used to configure PHP.


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

    [2003-11-22 13:02:59] mike at blackchaos dot net

    Description:
    ------------
    Hello,

    I'm having troulbe installing PHP 4.3.4 with LDAP support on Solaris 8

    for SPARC. I'm building PHP as a DSO module for Apache and everything

    compiles fine on the PHP side. It's when I do a 'make install' that
    this error messages shows up:
    mmcneil> make install

    Installing PHP CLI binary: /usr/local/bin/
    Installing PHP CLI man page: /usr/local/man/man1/
    Installing PHP SAPI module: apache
    [activating module `php4' in /usr/local/apache/conf/httpd.conf]
    cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
    chmod 755 /usr/local/apache/libexec/libphp4.so
    cp /usr/local/apache/conf/httpd.conf
    /usr/local/apache/conf/httpd.conf.bak
    cp /usr/local/apache/conf/httpd.conf.new
    /usr/local/apache/conf/httpd.conf
    rm /usr/local/apache/conf/httpd.conf.new
    Installing shared extensions:
    /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
    Installing PEAR environment: /usr/local/lib/php/
    Assertion failed: BER_VALID( ber ), file encode.c, line 471
    Abort
    make[1]: *** [install-pear-installer] Error 134
    make: *** [install-pear] Error 2






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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=26360&edit=1[/url]
    mike at blackchaos dot net Guest

  2. Similar Questions and Discussions

    1. OpenLDAP for mswin32
      I need binaries for both OpenLDAP server and client for MS Windows platform. If there are no such a thing, then perhaps you can tell me how to built...
    2. Update OpenLDAP userPassword
      I am trying to update a users password on OpenLDAP: $new = '{md5}' . base64_encode(pack('H*', md5($newpass_in_plaintext))); $this->result =...
    3. #26360 [Opn->Fbk]: PHP won't install when compiled with OpenLDAP 2.1.22
      ID: 26360 Updated by: sniper@php.net Reported By: mike at blackchaos dot net -Status: Open +Status: ...
    4. #26360 [NEW]: PHP won't install when compiled with OpenLDAP 2.1.22
      From: mike at blackchaos dot net Operating system: Solaris 8 on SPARC PHP version: 4.3.4 PHP Bug Type: LDAP related Bug...
    5. net8, ldap, openldap
      Dmitry Melekhov wrote: You can use the net8 assistant to migrate your tnsnames entries to ldap. At least, Oracle ldap. For ldif, I would have to...
  3. #2

    Default #26360 [Fbk->Opn]: PHP won't install when compiled with OpenLDAP 2.1.22

    ID: 26360
    User updated by: mike at blackchaos dot net
    Reported By: mike at blackchaos dot net
    -Status: Feedback
    +Status: Open
    Bug Type: LDAP related
    Operating System: Solaris 8 on SPARC
    PHP Version: 4.3.4
    New Comment:

    Results from 'make test':

    Build complete.
    (It is safe to ignore warnings about tempnam and tmpnam).

    mmcneil$ make test
    Assertion failed: BER_VALID( ber ), file encode.c, line 471
    Abort
    make: [test] Error 134 (ignored)


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

    [2003-11-23 21:11:39] [email]sniper@php.net[/email]

    Does 'make test' work..?


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

    [2003-11-23 01:55:27] mike at blackchaos dot net

    Here's the configure line I used:

    ../configure --with-apxs=/usr/local/apache/bin/apxs
    --with-ldap=/usr/local --with-gdbm=/usr/local
    --with-mysql=/usr/local/mysql --enable-track-vars --enable-sysvshm
    --enable-force-cgi-redirect --enable-ftp --with-gd
    --with-png-dir=/usr/local --with-xpm-dir=/usr/local --with-gettext
    --with-jpeg-dir=/usr/local --with-zlib --with-tiff-dir=/usr/local
    --with-snmp=/usr/local --enable-ucd-snmp-hack
    --with-freetype-dir=/usr/local

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

    [2003-11-22 20:21:51] [email]sniper@php.net[/email]

    Please provide the full configure line you used to configure PHP.


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

    [2003-11-22 13:02:59] mike at blackchaos dot net

    Description:
    ------------
    Hello,

    I'm having troulbe installing PHP 4.3.4 with LDAP support on Solaris 8

    for SPARC. I'm building PHP as a DSO module for Apache and everything

    compiles fine on the PHP side. It's when I do a 'make install' that
    this error messages shows up:
    mmcneil> make install

    Installing PHP CLI binary: /usr/local/bin/
    Installing PHP CLI man page: /usr/local/man/man1/
    Installing PHP SAPI module: apache
    [activating module `php4' in /usr/local/apache/conf/httpd.conf]
    cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
    chmod 755 /usr/local/apache/libexec/libphp4.so
    cp /usr/local/apache/conf/httpd.conf
    /usr/local/apache/conf/httpd.conf.bak
    cp /usr/local/apache/conf/httpd.conf.new
    /usr/local/apache/conf/httpd.conf
    rm /usr/local/apache/conf/httpd.conf.new
    Installing shared extensions:
    /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
    Installing PEAR environment: /usr/local/lib/php/
    Assertion failed: BER_VALID( ber ), file encode.c, line 471
    Abort
    make[1]: *** [install-pear-installer] Error 134
    make: *** [install-pear] Error 2






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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=26360&edit=1[/url]
    mike at blackchaos dot net Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139