Hi,

Solaris 2.7
PHP 4.2.1

configure PHP ....

    ./configure --prefix=/udd/mmacwing/usr/local/php-4.2.1/
   --with-config-file-path=/udd/mmacwing/usr/local/php-4.2.1/
   --with-apxs=/udd/mmacwing/usr/local/apache/bin/apxs
   --with-openssl=/udd/mmacwing/usr/local/openssl/ --with-mysql
   --enable-track-vars --enable-versioning --with-xml

all works fine ... but
when I try to compile PHP :

   Making all in openssl
   /bin/sh /udd/mmacwing/usr/src/php-4.2.1/libtool --silent
--mode=compile
   gcc  -I. -I/udd/mmacwing/usr/src/php-4.2.1/ext/openssl
   -I/udd/mmacwing/usr/src/php-4.2.1/main
-I/udd/mmacwing/usr/src/php-4.2.1
   -I/udd/mmacwing/usr/local/apache_1.3.26/include
   -I/udd/mmacwing/usr/src/php-4.2.1/Zend
   -I/udd/mmacwing/usr/local/openssl//include
   -I/udd/mmacwing/usr/src/php-4.2.1/ext/mysql/libmysql
   -I/udd/mmacwing/usr/src/php-4.2.1/ext/xml/expat
   -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI
   -DSHARED_CORE -DEAPI -I/udd/mmacwing/usr/src/php-4.2.1/TSRM -O2
   -I/udd/mmacwing/usr/local/openssl/include
   -I/udd/mmacwing/usr/local/openldap/include -DEAPI -prefer-pic  -c
   openssl.c
   openssl.c:42: openssl/e_os.h: No such file or directory
^^^^^^^^^^^^^^^^^^^^^^^^
   *** Error code 1
   make: Fatal error: Command failed for target `openssl.lo'
   Current working directory /udd/mmacwing/usr/src/php-4.2.1/ext/openssl

   *** Error code 1
   make: Fatal error: Command failed for target `all-recursive'
   Current working directory /udd/mmacwing/usr/src/php-4.2.1/ext/openssl

   *** Error code 1
   make: Fatal error: Command failed for target `all-recursive'
   Current working directory /udd/mmacwing/usr/src/php-4.2.1/ext
   *** Error code 1
   make: Fatal error: Command failed for target `all-recursive'



I don't use OpenSSL 0.9.6x because there is a bug under Solaris :



./configure --prefix=/udd/mmacwing/usr/local/php-4.2.1/
   --with-config-file-path=/udd/mmacwing/usr/local/php-4.2.1/
   --with-apxs=/udd/mmacwing/usr/local/apache/bin/apxs
   --with-ldap=/udd/mmacwing/usr/local/openldap-2.0.25/
   --with-openssl=/udd/mmacwing/usr/local/openssl-0.9.6d/
   --with-mysql --enable-track-vars --enable-versioning --with-xml

   Making all in .
   /bin/sh /udd/mmacwing/usr/src/php-4.2.1/libtool --silent
--mode=compile
   gcc  -I. -I/udd/mmacwing/usr/src/php-4.2.1/
   -I/udd/mmacwing/usr/src/php-4.2.1/main
-I/udd/mmacwing/usr/src/php-4.2.1
   -I/udd/mmacwing/usr/local/apache_1.3.26/include
   -I/udd/mmacwing/usr/src/php-4.2.1/Zend
   -I/udd/mmacwing/usr/local/openssl-0.9.6d//include
   -I/udd/mmacwing/usr/src/php-4.2.1/ext/xml/expat
   -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI
   -DSHARED_CORE -DEAPI -I/udd/mmacwing/usr/src/php-4.2.1/TSRM -O2
   -I/udd/mmacwing/usr/local/openssl-0.9.6d/include
   -I/udd/mmacwing/usr/local/openldap-2.0.25/include -DEAPI -prefer-pic
 -c
   stub.c
   /bin/sh /udd/mmacwing/usr/src/php-4.2.1/libtool --silent --mode=link
gcc
    -I. -I/udd/mmacwing/usr/src/php-4.2.1/
   -I/udd/mmacwing/usr/src/php-4.2.1/main
-I/udd/mmacwing/usr/src/php-4.2.1
   -I/udd/mmacwing/usr/local/apache_1.3.26/include
   -I/udd/mmacwing/usr/src/php-4.2.1/Zend
   -I/udd/mmacwing/usr/local/openssl-0.9.6d//include
   -I/udd/mmacwing/usr/src/php-4.2.1/ext/xml/expat
   -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI
   -DSHARED_CORE -DEAPI -I/udd/mmacwing/usr/src/php-4.2.1/TSRM -O2
   -I/udd/mmacwing/usr/local/openssl-0.9.6d/include
   -I/udd/mmacwing/usr/local/openldap-2.0.25/include -DEAPI -prefer-pic

   -R/udd/mmacwing/usr/local/openldap-2.0.25/lib/
   -R/udd/mmacwing/usr/local/openssl-0.9.6d/lib/
   -L/udd/mmacwing/usr/local/openldap-2.0.25/lib/
   -L/udd/mmacwing/usr/local/openssl-0.9.6d/lib/ -o libphp4.la -rpath
   /udd/mmacwing/usr/src/php-4.2.1/libs -export-symbols
   /udd/mmacwing/usr/src/php-4.2.1/sapi/apache/php.sym -avoid-version
   -L/usr/ucblib -L/udd/mmacwing/usr/local/openssl-0.9.6d//lib
   -R/udd/mmacwing/usr/local/openldap-2.0.25/lib/
   -R/udd/mmacwing/usr/local/openssl-0.9.6d/lib/
   -L/udd/mmacwing/usr/local/openldap-2.0.25/lib/
   -L/udd/mmacwing/usr/local/openssl-0.9.6d/lib/ -R /usr/ucblib -R
   /udd/mmacwing/usr/local/openssl-0.9.6d//lib stub.lo  Zend/libZend.la

   sapi/apache/libsapi.la  main/libmain.la  regex/libregex.la
   /udd/mmacwing/usr/src/php-4.2.1/ext/ctype/libctype.la
   /udd/mmacwing/usr/src/php-4.2.1/ext/openssl/libopenssl.la
   /udd/mmacwing/usr/src/php-4.2.1/ext/pcre/libpcre.la
   /udd/mmacwing/usr/src/php-4.2.1/ext/posix/libposix.la
   /udd/mmacwing/usr/src/php-4.2.1/ext/session/libsession.la
   /udd/mmacwing/usr/src/php-4.2.1/ext/standard/libstandard.la
   /udd/mmacwing/usr/src/php-4.2.1/ext/xml/libxml.la  TSRM/libtsrm.la
-lpam
   -lcrypt -lssl -lcrypto -lresolv -lresolv -lm -ldl -lsocket -lsocket
   -lcrypt -ldl
   /usr/local/gcc-2.95.3/sparc-sun-solaris2.7/bin/ld:
.libs/libphp4.so:
   undefined versioned symbol name des_encrypt1@@SUNWprivate_1.1

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   /usr/local/gcc-2.95.3/sparc-sun-solaris2.7/bin/ld: failed to set
dynamic
   section sizes: Bad value
   collect2: ld returned 1 exit status
   *** Error code 1
   make: Fatal error: Command failed for target `libphp4.la'
   Current working directory /udd/mmacwing/usr/src/php-4.2.1
   *** Error code 1
   make: Fatal error: Command failed for target `all-recursive'



   Thanks for your help.
   Michel.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to