ID: 38393
User updated by: asubstitute at gmail dot com
Reported By: asubstitute at gmail dot com
Status: Open
Bug Type: cURL related
Operating System: RHEL4
PHP Version: 5.1.4
New Comment:
Install now segfaults.
I have tried extracting the source again but got the same error.
$: php -v
Segmentation fault
Installing PHP SAPI module: cgi
Installing PHP CGI into: /usr/local/bin/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
[EMAIL PROTECTED] php-5.1.4]#
Previous Comments:
------------------------------------------------------------------------
[2006-08-09 11:13:35] asubstitute at gmail dot com
When compiling. (WITH mysql) but I had just upgraded OpenSSL to 0.9b
(from0.7a).
Going to try without myself now.
/usr/local/ssl/lib/libcrypto.a(cryptlib.o)(.text+0x224): In function
`CRYPTO_lock':
: multiple definition of `CRYPTO_lock'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-misc.o)(.text+0x54):/home/mysqldev/rpm/BUILD/mysql-5.0.24/extra/yassl/taocrypt/src/misc.cpp:33:
first defined here
/usr/bin/ld: Warning: size of symbol `CRYPTO_lock' changed from 7 in
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-misc.o) to 283 in
/usr/local/ssl/lib/libcrypto.a(cryptlib.o)
/usr/local/ssl/lib/libcrypto.a(cryptlib.o)(.text+0x340): In function
`CRYPTO_add_lock':
: multiple definition of `CRYPTO_add_lock'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-misc.o)(.text+0x5c):/home/mysqldev/rpm/BUILD/mysql-5.0.24/extra/yassl/taocrypt/src/misc.cpp:34:
first defined here
/usr/bin/ld: Warning: size of symbol `CRYPTO_add_lock' changed from 7
in /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-misc.o) to 98 in
/usr/local/ssl/lib/libcrypto.a(cryptlib.o)
/usr/local/ssl/lib/libcrypto.a(bn_lib.o)(.text+0xc08): In function
`BN_bin2bn':
: multiple definition of `BN_bin2bn'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.text+0x1d3c):/home/mysqldev/rpm/BUILD/mysql-5.0.24/extra/yassl/src/ssl.cpp:757:
first defined here
/usr/bin/ld: Warning: size of symbol `BN_bin2bn' changed from 178 in
/usr/lib/mysql/libmysqlclient.a(ssl.o) to 447 in
/usr/local/ssl/lib/libcrypto.a(bn_lib.o)
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
real 3m41.666s
user 2m55.375s
sys 0m48.024s
[EMAIL PROTECTED] php-5.1.4]#
------------------------------------------------------------------------
[2006-08-09 10:56:49] [EMAIL PROTECTED]
Does it work if you build it without MySQL support?
------------------------------------------------------------------------
[2006-08-09 10:32:57] asubstitute at gmail dot com
Look in my inital post, see I tried the snapshot code too. (RIght
before I submitted this)
The procedural code above works only for HTTP urls.
HTTPS cause a segfault (though both protocols make the OOP version
die)
I can run curl from the command line, and it works fine. Indicating it
is unlikely to be a libcurl issue.
Curl info from phpinfo. libcurl/7.15.5 OpenSSL/0.9.7a zlib/1.2.3
libidn/0.5.6
Server: lighttpd 1.4.11
./configure' '--enable-fastcgi' '--enable-discard-path'
'--enable-force-redirect' '--enable-exif' '--enable-ftp' '--with-dom'
'--enable-sockets' '--enable-memory-limit' '--enable-mbstring'
'--with-gettext' '--with-mime-magic' '--with-iconv' '--with-gd=/usr'
'--with-ttf' '--with-freetype-dir=/usr/X11R6' '--enable-gd-native-ttf'
'--with-jpeg-dir=/usr' '--with-png-dir=/usr'
'--with-xpm-dir=/usr/X11R6/lib' '--with-mysql=/usr/lib' '--with-zlib'
'--with-curl' '--with-curlwrappers' '--with-expat-dir=/usr'
'--with-xsl' '--with-bz2' '--with-openssl' '--enable-debug'
------------------------------------------------------------------------
[2006-08-09 08:37:01] [EMAIL PROTECTED]
What was your configure line?
------------------------------------------------------------------------
[2006-08-09 07:48:48] [EMAIL PROTECTED]
Even looks like an OpenSSL problem.
------------------------------------------------------------------------
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/38393
--
Edit this bug report at http://bugs.php.net/?id=38393&edit=1