ID:               22325
 User updated by:  jules dot thavarajah at gazdefrance dot com
 Reported By:      jules dot thavarajah at gazdefrance dot com
 Status:           Open
 Bug Type:         LDAP related
 Operating System: AIX4.3.3
 PHP Version:      4.3.2-dev
 New Comment:

By the way it still not work at the configure step.

Have you already install any version of php with ldap libs on AIX ?
Thanks
Best Regards


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

[2003-02-24 08:31:25] jules dot thavarajah at gazdefrance dot com

The installation is done under "root".

Here is the value of LIBPATH :

export
LIBPATH=/usr/lib:/usr/local/lib:/usr/local/lib/apache:/logiciels/apache/apa_1.3.19/lib/lib_ora_8.1.7/lib:/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/lib

The libs are at the following location :

[pcya000x]/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT#ll
total 112
-rwxr-x---   1 arianet  staff       6321 Apr 12 2001  README
drwxr-x---   2 arianet  staff        512 Apr 12 2001  docs
drwxr-x---   3 arianet  staff        512 Apr 12 2001  examples
drwxr-x---   2 arianet  staff        512 Apr 12 2001  include
drwxr-x---   2 arianet  staff        512 Apr 12 2001  lib
-rwxr-x---   1 arianet  staff       9224 Apr 12 2001  license.txt
-rwxr-x---   1 arianet  staff       1421 Apr 12 2001  redist.txt
-rwxr-x---   1 arianet  staff      11724 Apr 12 2001  relnotes.htm
drwxr-x---   2 arianet  staff        512 Apr 12 2001  tools
[pcya000x]/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT#cd
lib
ya000x]/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/lib#ll
total 3536
-rwxr-x---   1 arianet  staff    1395538 Apr 12 2001  libldapssl41.so
-rwxr-x---   1 arianet  staff     348259 Apr 12 2001  libnspr3.so
-rwxr-x---   1 arianet  staff      27198 Apr 12 2001  libplc3.so
-rwxr-x---   1 arianet  staff      32477 Apr 12 2001  libplds3.so
ya000x]/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/lib#

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

[2003-02-24 07:58:14] [EMAIL PROTECTED]

I assume those nsldap libs are here:
/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/lib

Is that path in your LIBPATH?


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

[2003-02-20 09:02:00] jules dot thavarajah at gazdefrance dot com

Here are the messages in the debug.log after running configure. It is
not much better.

Any idea?

Thanks
Best regards

*******************************

./configure --prefix=$prefix/php4-STABLE-200302201230 \
--with-oci8=$libdir/lib_ora_8.1.7 --without-mysql --enable-calendar \
--with-ldap=$libdir/ldapcsdk414-AIX4[1].3_OPT --with-pdflib=no \
--with-config-file-path=$prefix/php4-STABLE-200302201230 \
--with-apxs=$prefix/bin/apxs


************************ debug.log

CONFIGURE:   './configure'
'--prefix=/logiciels/apache/apa_1.3.19/php4-STABLE-200302201230'
'--with-oci8=/logiciels/apache/apa_1.3.19/lib/lib_ora_8.1.7'
'--without-mysql' '--enable-calendar'
'--with-ldap=/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT'
'--with-pdflib=no'
'--with-config-file-path=/logiciels/apache/apa_1.3.19/php4-STABLE-200302201230'
'--with-apxs=/logiciels/apache/apa_1.3.19/bin/apxs'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT
-DAIX_BIND_PROCESSOR -DMOD_SSL=208103 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT
-DHARD_SERVER_LIMIT=1000
CXX:        
CXXFLAGS:   
INCLUDES:    -I$(top_builddir)/Zend
-I/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/include
-I/logiciels/apache/apa_1.3.19/lib/lib_ora_8.1.7/rdbms/public
LDFLAGS:    
-L/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/lib
-L/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/lib
-L/logiciels/apache/apa_1.3.19/lib/lib_ora_8.1.7/lib
-L/logiciels/apache/apa_1.3.19/lib/lib_ora_8.1.7/lib
LIBS:       -lldapssl41 -lplds3 -lplc3 -lnspr3 -lm  -lclntsh
-locijdbc8
DLIBS:      
SAPI:       apache
PHP_RPATHS: 
/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/lib
/logiciels/apache/apa_1.3.19/lib/lib_ora_8.1.7/lib
uname -a:   AIX pcya000x 3 4 0004C0094C00

gcc -o conftest -g -O2  -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT
-DAIX_BIND_PROCESSOR -DMOD_SSL=208103 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT
-DHARD_SERVER_LIMIT=1000 
-L/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/lib
-L/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/lib
-L/logiciels/apache/apa_1.3.19/lib/lib_ora_8.1.7/lib
-L/logiciels/apache/apa_1.3.19/lib/lib_ora_8.1.7/lib conftest.c
-lldapssl41 -lplds3 -lplc3 -lnspr3 -lm  -lclntsh -locijdbc8 1>&5
ld: 0706-006 Cannot find or open library file: -l ldapssl41
        ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l plds3
        ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l plc3
        ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l nspr3
        ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l ocijdbc8
        ld:open(): No such file or directory
collect2: ld returned 255 exit status

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

[2003-02-20 08:31:14] [EMAIL PROTECTED]

Running ./configure and 'make' does not mean that
you have to do 'make install'...so please try the snapshot
to see if it makes any difference. Many bugs have been
fixed since 4.3.0/4.3.1 releases in the snapshot..


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

[2003-02-20 08:27:57] jules dot thavarajah at gazdefrance dot com

At first thanks for your reply.

But, i can't use the latest version which is not referenced where i
work.

Actually, I want to install the version 4.0.6 of PHP. As it did not
work, i tried to install the version 4.3.0 to see how it behaves on
AIX. But i had the same errors.

That's why i wonder if you have a patch for the release 4.0.6 of PHP to
compile LDAP correctly?

Thanks
Best Regards

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/22325

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

Reply via email to