ID: 38393 User updated by: asubstitute at gmail dot com Reported By: asubstitute at gmail dot com -Status: Feedback +Status: Open Bug Type: cURL related Operating System: RHEL4 PHP Version: 5.1.4 New Comment:
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]# Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2006-08-09 07:48:10] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Can't reproduce either. ------------------------------------------------------------------------ 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