[openssl.org #143] pod2mantest gives wrong return value
[guest - Fri Jul 12 08:04:57 2002]: During make install on a Solaris 2.6 with Perl 5.005_002 pod2mantest is called via `cd ../../util; ./pod2mantest ignore` It complains MultilineTest failed and returns util/pod2man.pl This path does not work at this place. It should be ../../util/pod2man.pl Thanks, it is already fixed in the CVS. Lutz __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #141] Error while writing zero-length string
Martin Sjögren: When you write a zero-length string with SSL_write, OpenSSL signals a protocol-violating EOF even though no such thing has happened. My guess is that a zero returned is misinterpreted somewhere though I have not had time to dig through the source. SSL_write() with length 0 will return 0, and this return value is always interpreted as protocol-violating EOF according to the SSL_get_error() manpage (SSL_get_error() returns SSL_ERROR_ZERO_RETURN). This is an inconsistency, but even if we change SSL_write() to return a different value, the program will not work -- we cannot return a positive value, and negative values would be interpreted as errors too. -- Bodo Möller [EMAIL PROTECTED] PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html * TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt * Tel. +49-6151-16-6628, Fax +49-6151-16-6036 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #127] AES draft cipher suites
Lutz Jaenicke: I have already worked in the cipher selection routines yesterday with respect to PR#130. I will add an appropriate NOTDEFAULT selection keyword that will cover cipher suites not selected by default. As this is a new feature I intend to only add it to 0.9.7 (and later). Technically spoken we have two things: * ALL: all ciphers _except_ eNULL (no encryption is left out) * DEFAULT: ALL ciphers, then ADH is removed, then some sorting We would therefore have two classes of non-selected ciphers: * NODEFAULT: meaning effectively ADH in the moment * NOALL: meaning effectively eNULL in the moment Of course, this distinction is not necessarily clear unless you look up the realization of DEFAULT and ALL. Should I realize both classes? Actually it would make sense from the logical point of view and in the documentation I would propose to use something like RSA:NODEFAULT:NOALL to unselect the unwanted ciphers. I propose NOALL instead of NONE in order to reflect its logic interaction with the ALL keyword. The NO prefix in NODEFAULT and NOALL could be misleading. (Of course, NONE isn't any better.) COMPLEMENT_OF_ALL and COMPLEMENT_OF_DEFAULT is clearer. It is also longer, but it may be worth it. I don't particularly like the RSA:NODEFAULT:NOALL example because the NO... or COMPLEMENT_OF_... group aliases are not really useful for *enabling* ciphersuites (it can be done, but this is quite pointless). Their real purpose is *disabling* ciphersuites: RSA:!COMPLEMENT_OF_ALL or RC4:!COMPLEMENT_OF_DEFAULT will enable all RSA ciphersuites with the exception of the eNULL ciphersuites, and RC4:!COMPLEMENT_OF_DEFAULT will enable all non-anonymous RC4 ciphersuites. -- Bodo Möller [EMAIL PROTECTED] PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html * TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt * Tel. +49-6151-16-6628, Fax +49-6151-16-6036 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #141] Error while writing zero-length string
fre 2002-07-12 klockan 09.36 skrev Bodo Moeller via RT: Martin Sjögren: When you write a zero-length string with SSL_write, OpenSSL signals a protocol-violating EOF even though no such thing has happened. My guess is that a zero returned is misinterpreted somewhere though I have not had time to dig through the source. SSL_write() with length 0 will return 0, and this return value is always interpreted as protocol-violating EOF according to the SSL_get_error() manpage (SSL_get_error() returns SSL_ERROR_ZERO_RETURN). This is an inconsistency, but even if we change SSL_write() to return a different value, the program will not work -- we cannot return a positive value, and negative values would be interpreted as errors too. Uh, the example code I whipped up doesn't give you SSL_ERROR_ZERO_RETURN, it gives you SSL_ERROR_SYSCALL. $ ./a.out rand: 1 accept: 1 connect: 1 ERR_get_error=0; ret=0; err=5; errno=0 where err is the result of SSL_get_error. I think you're losing me somewhere. I'd say that the problem isn't as much in SSL_write as in SSL_get_error. The error codes and success codes overlap :( Regards, Martin -- Martin Sjögren [EMAIL PROTECTED] ICQ : 41245059 Phone: +46 (0)31 7710870 Cell: +46 (0)739 169191 GPG key: http://www.strakt.com/~martin/gpg.html __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
[openssl.org #145] PHP failure compile with --openssl : e_os.h don't exist in OpenSSL-0.9.7b under Solaris 2.7
Hi, Solaris 2.7 PHP 4.2.1 OpenSSL-0.9.7beta2 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
Re: [openssl.org #145] PHP failure compile with --openssl : e_os.hdon't exist in OpenSSL-0.9.7b under Solaris 2.7
In message [EMAIL PROTECTED] on Fri, 12 Jul 2002 15:43:08 +0200 (METDST), Michel Mac Wing via RT [EMAIL PROTECTED] said: e_os.h was never meant to be exported. Starting with 0.9.7, it really isn't exported any more. It's a mistake for external applications to try to use it and has always been so. rt when I try to compile PHP : rt rtMaking all in openssl rt/bin/sh /udd/mmacwing/usr/src/php-4.2.1/libtool --silent rt --mode=compile rtgcc -I. -I/udd/mmacwing/usr/src/php-4.2.1/ext/openssl rt-I/udd/mmacwing/usr/src/php-4.2.1/main rt -I/udd/mmacwing/usr/src/php-4.2.1 rt-I/udd/mmacwing/usr/local/apache_1.3.26/include rt-I/udd/mmacwing/usr/src/php-4.2.1/Zend rt-I/udd/mmacwing/usr/local/openssl//include rt-I/udd/mmacwing/usr/src/php-4.2.1/ext/mysql/libmysql rt-I/udd/mmacwing/usr/src/php-4.2.1/ext/xml/expat rt-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI rt-DSHARED_CORE -DEAPI -I/udd/mmacwing/usr/src/php-4.2.1/TSRM -O2 rt-I/udd/mmacwing/usr/local/openssl/include rt-I/udd/mmacwing/usr/local/openldap/include -DEAPI -prefer-pic -c rtopenssl.c rtopenssl.c:42: openssl/e_os.h: No such file or directory rt rt*** Error code 1 rtmake: Fatal error: Command failed for target `openssl.lo' rtCurrent working directory /udd/mmacwing/usr/src/php-4.2.1/ext/openssl rt rt*** Error code 1 rtmake: Fatal error: Command failed for target `all-recursive' rtCurrent working directory /udd/mmacwing/usr/src/php-4.2.1/ext/openssl rt rt*** Error code 1 rtmake: Fatal error: Command failed for target `all-recursive' rtCurrent working directory /udd/mmacwing/usr/src/php-4.2.1/ext rt*** Error code 1 rtmake: Fatal error: Command failed for target `all-recursive' And what exactly is attempted here? -- Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED] Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47 \ SWEDEN \ or +46-708-26 53 44 Procurator Odiosus Ex Infernis-- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ Unsolicited commercial email is subject to an archival fee of $400. See http://www.stacken.kth.se/~levitte/mail/ for more info. __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #145] PHP failure compile with --openssl : e_os.h don't exist in OpenSSL-0.9.7b under Solaris 2.7
In message [EMAIL PROTECTED] on Fri, 12 Jul 2002 15:43:08 +0200 (METDST), Michel Mac Wing via RT [EMAIL PROTECTED] said: e_os.h was never meant to be exported. Starting with 0.9.7, it really isn't exported any more. It's a mistake for external applications to try to use it and has always been so. rt when I try to compile PHP : rt rtMaking all in openssl rt/bin/sh /udd/mmacwing/usr/src/php-4.2.1/libtool --silent rt --mode=compile rtgcc -I. -I/udd/mmacwing/usr/src/php-4.2.1/ext/openssl rt-I/udd/mmacwing/usr/src/php-4.2.1/main rt -I/udd/mmacwing/usr/src/php-4.2.1 rt-I/udd/mmacwing/usr/local/apache_1.3.26/include rt-I/udd/mmacwing/usr/src/php-4.2.1/Zend rt-I/udd/mmacwing/usr/local/openssl//include rt-I/udd/mmacwing/usr/src/php-4.2.1/ext/mysql/libmysql rt-I/udd/mmacwing/usr/src/php-4.2.1/ext/xml/expat rt-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI rt-DSHARED_CORE -DEAPI -I/udd/mmacwing/usr/src/php-4.2.1/TSRM -O2 rt-I/udd/mmacwing/usr/local/openssl/include rt-I/udd/mmacwing/usr/local/openldap/include -DEAPI -prefer-pic -c rtopenssl.c rtopenssl.c:42: openssl/e_os.h: No such file or directory rt rt*** Error code 1 rtmake: Fatal error: Command failed for target `openssl.lo' rtCurrent working directory /udd/mmacwing/usr/src/php-4.2.1/ext/openssl rt rt*** Error code 1 rtmake: Fatal error: Command failed for target `all-recursive' rtCurrent working directory /udd/mmacwing/usr/src/php-4.2.1/ext/openssl rt rt*** Error code 1 rtmake: Fatal error: Command failed for target `all-recursive' rtCurrent working directory /udd/mmacwing/usr/src/php-4.2.1/ext rt*** Error code 1 rtmake: Fatal error: Command failed for target `all-recursive' And what exactly is attempted here? -- Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED] Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47 \ SWEDEN \ or +46-708-26 53 44 Procurator Odiosus Ex Infernis-- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ Unsolicited commercial email is subject to an archival fee of $400. See http://www.stacken.kth.se/~levitte/mail/ for more info. __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #145] PHP failure compile with --openssl : e_os.h don't exist in OpenSSL-0.9.7b under Solaris 2.7
Hello, Thanks for the latest answer. Ok, but what is your solution to compile PHP with OpenSSL (0.9.6d ?) without the error (conflict ?) below : Solaris 2.7 PHP4.2.1 or latest CVS OpenSSL 0.9.6d ./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 all configure works fine but 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' Richard Levitte - VMS Whacker via RT wrote: In message [EMAIL PROTECTED] on Fri, 12 Jul 2002 15:43:08 +0200 (METDST), Michel Mac Wing via RT [EMAIL PROTECTED] said: e_os.h was never meant to be exported. Starting with 0.9.7, it really isn't exported any more. It's a mistake for external applications to try to use it and has always been so. rt when I try to compile PHP : rt rtMaking all in openssl rt/bin/sh /udd/mmacwing/usr/src/php-4.2.1/libtool --silent rt --mode=compile rtgcc -I. -I/udd/mmacwing/usr/src/php-4.2.1/ext/openssl rt-I/udd/mmacwing/usr/src/php-4.2.1/main rt -I/udd/mmacwing/usr/src/php-4.2.1 rt-I/udd/mmacwing/usr/local/apache_1.3.26/include rt-I/udd/mmacwing/usr/src/php-4.2.1/Zend rt-I/udd/mmacwing/usr/local/openssl//include rt-I/udd/mmacwing/usr/src/php-4.2.1/ext/mysql/libmysql rt-I/udd/mmacwing/usr/src/php-4.2.1/ext/xml/expat rt-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI rt-DSHARED_CORE -DEAPI -I/udd/mmacwing/usr/src/php-4.2.1/TSRM -O2 rt-I/udd/mmacwing/usr/local/openssl/include rt-I/udd/mmacwing/usr/local/openldap/include -DEAPI -prefer-pic -c rtopenssl.c rtopenssl.c:42:
Re: [openssl.org #145] PHP failure compile with --openssl : e_os.h don't exist in OpenSSL-0.9.7b under Solaris 2.7
On Fri, Jul 12, 2002 at 05:55:20PM +0200, Michel Mac Wing via RT wrote: Thanks for the latest answer. Ok, but what is your solution to compile PHP with OpenSSL (0.9.6d ?) without the error (conflict ?) below : Solaris 2.7 PHP4.2.1 or latest CVS OpenSSL 0.9.6d I don't know for what reason e_os.h should be included at all. I only have php-4.1.2 around, which however does not include e_os.h and compiles fine against openssl-0.9.7-*. I do think that this is more of a PHP issue. e_os.h should not be included by any application. /usr/local/gcc-2.95.3/sparc-sun-solaris2.7/bin/ld: .libs/libphp4.so: undefined versioned symbol name des_encrypt1@@SUNWprivate_1.1 find des_encrypt1 in OpenSSL 0.9.6d and replace it with des_encrypt2 or whatever name you find appropriate and recompile OpenSSL. Best regards, Lutz -- Lutz Jaenicke [EMAIL PROTECTED] http://www.aet.TU-Cottbus.DE/personen/jaenicke/ BTU Cottbus, Allgemeine Elektrotechnik Universitaetsplatz 3-4, D-03044 Cottbus __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]