ID:               22325
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jules dot thavarajah at gazdefrance dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         LDAP related
 Operating System: AIX4.3.3
-PHP Version:      4.0.6
+PHP Version:      4.3.2-dev
 New Comment:

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?



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

[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

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

[2003-02-20 07:28:09] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

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

[2003-02-20 05:01:31] jules dot thavarajah at gazdefrance dot com

Hi,

I am trying to compile php4.0.6 on aix4.3.3 OS with LDAP librairies.
But when i run configure i get error messages in debug.log file.

(I also tried to install the version php4.3.0, but i get the same
error!)

Is php4.x.x compatible with AIX4.3???
My advance thanks for your help.
With best regards

Jules THAVARAJAH

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

I set the location of these librairies with LIBPATH on my machine (as
it is specified in README file with the php-4.0.6.tar file).

echo $LIBPATH :
/usr/lib:/usr/local/lib:/usr/local/lib/apache:/logiciels/apache/apa_1.3.19/lib/l
ib_ora_8.1.7/lib:/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/lib
******************************

Here is the commande line used to run configure :
(as describe at the following location :
http://www.php.net/manual/en/faq.build.php#faq.build.not-found)

CPPFLAGS=-I/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/include
\
LDFLAGS=-L/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/lib
\
./configure --prefix=$prefix/php-4.0.6 \
--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/php-4.0.6 \
--with-apxs=$prefix/bin/apxs

I tried also without CPPFLAGS and LDFLAGS variables :

./configure --prefix=$prefix/php-4.0.6 \
--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/php-4.0.6 \
--with-apxs=$prefix/bin/apxs
********************************************

I get the following error messages !

CONFIGURE:   './configure'
'--prefix=/logiciels/apache/apa_1.3.19/php-4.0.6'
'--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/php-4.0.6'
'--with-apxs=/logiciels/apache/apa_1.3.19/bin/apxs'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:  
-I/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/include
-DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR
-DMOD_SSL=208103 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT
-DHARD_SERVER_LIMIT=1000 -DSUPPORT_UTF8
CXX:        
CXXFLAGS:   
INCLUDES:    -I/logiciels/apache/apa_1.3.19/include 
-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/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 -lcrypt -lbind -lm -ldl
-lclntsh
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
-I/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/include
-DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR
-DMOD_SSL=208103 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT
-DHARD_SERVER_LIMIT=1000 -DSUPPORT_UTF8
-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/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 -lcrypt -lbind -lm -ldl
-L/logiciels/apache/apa_1.3.19/lib/ldapcsdk414-AIX4[1].3_OPT/lib
-lclntsh 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
collect2: ld returned 255 exit status

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


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

Reply via email to