ID:               41965
 Updated by:       [EMAIL PROTECTED]
 Reported By:      tprohaska2 at honeywell dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         LDAP related
 Operating System: AIX 5.1
 PHP Version:      5.2.3
 New Comment:

What if you rename all those .so to .a? (which is actually the
extension used for shared objects on AIX)


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

[2007-07-11 19:00:59] tprohaska2 at honeywell dot com

CONFIGURE:
--------------------------------------------------------------------
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--prefix=/usr/local/php5 \
--with-config-file-path=/usr/local/apache2/conf --without-mysql
--with-pear=/usr
/local/pear \
--enable-so --with-oci8=/8u314oracle/8.1.7 --enable-ftp
--with-ldap=/home/exxxxxx/ldapcsdk



LAST LINE FROM CONFIGURE:
--------------------------------------------------------------------
configure: error: LDAP build check failed. Please check config.log for
more infomation.




FROM config.log:
--------------------------------------------------------------------
ld: 0706-006 Cannot find or open library file: -l ssl3
        ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l ssldap50
        ld:open(): No such file or directory
collect2: ld returned 255 exit status



FILES in /home/exxxxxx/ldapcsdk/lib:
--------------------------------------------------------------------
libicudata.so    libiutil50.a     libnspr4.so      libprldap50.a
libicudata.so.2  liblber50.a      libnss3.so       libprldap50.so
libicui18n.so    libldap50.a      libplc4.a        libsasl.so
libicui18n.so.2  libldap50.so     libplc4.so       libssl3.so
libicuuc.so      libldif50.a      libplds4.a       libssldap50.so
libicuuc.so.2    libnspr4.a       libplds4.so



LIBPATH='/home/exxxxxx/ldapcsdk'


Debug efforts:
--------------------------------------------------------------------
I sliced out the offending part of the configure and boiled it down to
an error indicating ssl3 and ssldap50 are not found. I noticed that
there is no ".a" version of these files. When I intentionally rename one
of the other libraries thus eliminating the ".a" file I get an error
message for that file as well. In other words, if I remove the
libprldap50.a file I get the same not found error even though there is a
libperldap50.so file. When I restore the libperldap50.a file the error
message goes away for that library. Again, there is no libssl3.a file or
a libssldap50.a file. So it would appear that I either need the
libssl3.a and libssldap50.a files OR I need the configure to use the
".so" files.

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

[2007-07-11 18:42:54] [EMAIL PROTECTED]

Those libraries are enough. What was the configure line you used?
And in what path are those libraries in? And what exact error do you
get? Is there anything in config.log about the error?

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

[2007-07-11 17:07:42] tprohaska2 at honeywell dot com

Description:
------------
gcc 4.0 / AIX 5.1 / 
When running configure with the LDAP option it fails on not being able
to find ssl3 and sslap50.

I have determined that there is no corresponding libssl3.a and
libssldap50.a libraries although I have the completed LDAPCSDK (5.11)
loaded. The libraries libssl3.so and libssldap50.so files do exist
however.



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


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

Reply via email to