ID:               16804
 Comment by:       [EMAIL PROTECTED]
 Reported By:      Xuefer at 21cn dot com
 Status:           Bogus
 Bug Type:         MySQL related
 Operating System: linux-redhat 7.2
 PHP Version:      4.2.0
 New Comment:

I am having the same Problem.

My ./configure line:
./configure --with-apxs=/usr/local/sbin/apxs
--with-config-file-path=/usr/local/etc --enable-versioning
--with-regex=system --without-gd --with-pgsql --with-gd=/usr/local
--enable-gd-native-ttf --with-freetype-dir=/usr/local
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib
--with-bz2=/usr --with-mcrypt=/usr/local --with-mhash=/usr/local
--with-pdflib=/usr/local --with-zlib-dir=/usr
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local
--with-tiff-dir=/usr/local --with-mysql=/usr/local/mysql4
--with-openssl --with-expat-dir=/usr/local --with-xmlrpc --enable-xslt
--with-xslt-sablot --enable-wddx --with-dom=/usr/local --enable-ftp
--with-gettext=/usr/local --enable-mbregex --enable-bcmath
--enable-sockets --enable-sysvsem --enable-sysvshm --enable-trans-sid
--with-iconv=/usr/local --enable-exif --enable-track-vars --with-imap
--with-mcal --with-pear

Make fails on:
...
lrpc/libxmlrpc/xml_to_soap.lo ext/xslt/xslt.lo ext/xslt/sablot.lo
regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo
TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo
main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo
main/safe_mode.lo main/fopen_wrappers.lo main/alloca.lo
main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo
main/php_content_types.lo main/strlcpy.lo main/strlcat.lo
main/mergesort.lo main/reentrancy.lo main/php_variables.lo
main/php_ticks.lo main/streams.lo main/network.lo
main/php_open_temporary_file.lo main/php_logos.lo main/output.lo
main/memory_streams.lo main/user_streams.lo
Zend/zend_language_parser.lo Zend/zend_language_scanner.lo
Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo
Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo
Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo
Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo
Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo
Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo
Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo
Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo
Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo
main/internal_functions_cli.lo -lcrypt -lmcal -lc-client4 -lsablot
-lexpat -lexpat -lexpat -lexpat -lcrypt -lpq -lpdf -lz -ltiff -lpng
-ljpeg -lmysqlclient -lmhash -lmcrypt -lltdl -lcrypt -lpam -liconv
-lintl -lgd -lfreetype -lpng -lz -ljpeg -lz -lbz2 -lz -lssl -lcrypto
-lm -lxml2 -lz -lm -lcrypt -lcrypt  -o sapi/cli/php
ext/openssl/openssl.lo: In function `zm_startup_openssl':
/usr/src/php-4.3.3/ext/openssl/openssl.c(.text+0xb69): undefined
reference to `OpenSSL_add_all_algorithms'
*** Error code 1


My System:
x86, FreeBSD, PHP 4.3.3, MySQL 4.0.15


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

[2002-07-02 22:51:15] [EMAIL PROTECTED]

Not really bug. If you want ssl support with mysql, you need to use
--with-openssl


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

[2002-04-25 02:11:15] Xuefer at 21cn dot com

i've tested again again
ok now
mysql# configure --with-openssl=/usr ..
this works fine even php without openssl module

why do i have to specify DIR ?
it this bug is bogus, it should be explain about [DIR] in document

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

[2002-04-25 01:30:06] Xuefer at 21cn dot com

php '--with-openssl' still not help no "-lssl" is added for linking
but if i configure php '--with-openssl=/usr'
passed

why? it's said "--with-openssl=[DIR]", DIR should can optional right ?

i don't wanna compile openssl functions for php

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

[2002-04-24 20:13:00] [EMAIL PROTECTED]

Does adding --with-openssl to your PHP configure line help?


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

[2002-04-24 14:21:06] Xuefer at 21cn dot com

mysql# configure --with-openssl ......
but now
mysql# configure --with-openssl=share
it's ok

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/16804

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

Reply via email to