From:             jules dot thavarajah at gazdefrance dot com
Operating system: AIX4.3.3
PHP version:      4.3.0
PHP Bug Type:     LDAP related
Bug description:  librairies not found while run configure.

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 bug report at http://bugs.php.net/?id=22325&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22325&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22325&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22325&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22325&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22325&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22325&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22325&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22325&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22325&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22325&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22325&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22325&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22325&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22325&r=gnused

Reply via email to