ID: 45907 Updated by: [EMAIL PROTECTED] Reported By: olivier at ajeux dot com -Status: Open +Status: Feedback Bug Type: PHAR related Operating System: Linux i686 2.6.17 PHP Version: 5.3CVS-2008-09-29 (snap) New Comment:
Can someone please confirm that this occurs only when ext/hash is built as shared? Previous Comments: ------------------------------------------------------------------------ [2008-09-29 10:36:04] olivier at ajeux dot com Tested again with php5.3 200809290830 Same bug. ext/phar/.libs/util.o: In function `phar_create_signature': /usr/src/php5.3-200809290830/ext/phar/util.c:2047: undefined reference to `PHP_SHA512Init' /usr/src/php5.3-200809290830/ext/phar/util.c:2050: undefined reference to `PHP_SHA512Update' /usr/src/php5.3-200809290830/ext/phar/util.c:2053: undefined reference to `PHP_SHA512Final' /usr/src/php5.3-200809290830/ext/phar/util.c:2062: undefined reference to `PHP_SHA256Init' /usr/src/php5.3-200809290830/ext/phar/util.c:2065: undefined reference to `PHP_SHA256Update' /usr/src/php5.3-200809290830/ext/phar/util.c:2068: undefined reference to `PHP_SHA256Final' ext/phar/.libs/util.o: In function `phar_verify_signature': /usr/src/php5.3-200809290830/ext/phar/util.c:1916: undefined reference to `PHP_SHA256Init' /usr/src/php5.3-200809290830/ext/phar/util.c:1926: undefined reference to `PHP_SHA256Update' /usr/src/php5.3-200809290830/ext/phar/util.c:1883: undefined reference to `PHP_SHA512Init' /usr/src/php5.3-200809290830/ext/phar/util.c:1893: undefined reference to `PHP_SHA512Update' /usr/src/php5.3-200809290830/ext/phar/util.c:1900: undefined reference to `PHP_SHA512Final' /usr/src/php5.3-200809290830/ext/phar/util.c:1933: undefined reference to `PHP_SHA256Final' collect2: ld returned 1 exit status make: *** [sapi/cgi/php-cgi] Error 1 ------------------------------------------------------------------------ [2008-09-06 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2008-09-01 12:50:47] webmaster at ajeux dot com Hello, Same bug with php5.3-200809011230 (different line number though). ext/phar/.libs/util.o: In function `phar_create_signature': /source/php/php5.3-200809011230/ext/phar/util.c:2047: undefined reference to `PHP_SHA512Init' /source/php/php5.3-200809011230/ext/phar/util.c:2050: undefined reference to `PHP_SHA512Update' [...] ------------------------------------------------------------------------ [2008-08-29 13:27:38] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.3-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.3-win32-installer-latest.msi ------------------------------------------------------------------------ [2008-08-25 10:13:30] olivier at ajeux dot com Description: ------------ When compiling php5.3-200808250830: ext/phar/.libs/util.o: In function `phar_create_signature': /source/php/php5.3-200808250830/ext/phar/util.c:2046: undefined reference to `PHP_SHA512Init' /source/php/php5.3-200808250830/ext/phar/util.c:2049: undefined reference to `PHP_SHA512Update' /source/php/php5.3-200808250830/ext/phar/util.c:2052: undefined reference to `PHP_SHA512Final' /source/php/php5.3-200808250830/ext/phar/util.c:2061: undefined reference to `PHP_SHA256Init' /source/php/php5.3-200808250830/ext/phar/util.c:2064: undefined reference to `PHP_SHA256Update' /source/php/php5.3-200808250830/ext/phar/util.c:2067: undefined reference to `PHP_SHA256Final' ext/phar/.libs/util.o: In function `phar_verify_signature': /source/php/php5.3-200808250830/ext/phar/util.c:1915: undefined reference to `PHP_SHA256Init' /source/php/php5.3-200808250830/ext/phar/util.c:1925: undefined reference to `PHP_SHA256Update' /source/php/php5.3-200808250830/ext/phar/util.c:1882: undefined reference to `PHP_SHA512Init' /source/php/php5.3-200808250830/ext/phar/util.c:1892: undefined reference to `PHP_SHA512Update' /source/php/php5.3-200808250830/ext/phar/util.c:1899: undefined reference to `PHP_SHA512Final' /source/php/php5.3-200808250830/ext/phar/util.c:1932: undefined reference to `PHP_SHA256Final' collect2: ld returned 1 exit status make: *** [sapi/cgi/php-cgi] Error 1 Same result with php5.3-200808211030 and all releases since (don't know if it happened before). Configure line : ./configure --prefix=/usr --sysconfdir=/etc/php53 --libdir=/usr/lib/php53 --mandir=/usr/share/man --program-suffix=53 --with-layout=GNU --enable-sigchild --disable-rpath --enable-libxml --enable-bcmath=shared --enable-calendar=shared --enable-ctype=shared --enable-dom=shared --enable-exif=shared --enable-filter --enable-ftp=shared --enable-gd-native-ttf --enable-gd-jis-conv --enable-hash=shared --enable-json=shared --enable-mbstring=shared --enable-pcntl=shared --enable-posix=shared --enable-shmop=shared --enable-simplexml --enable-soap=shared --enable-sockets=shared --enable-sqlite-utf8 --enable-sysvmsg=shared --enable-sysvsem=shared --enable-sysvshm=shared --enable-tokenizer=shared --enable-wddx=shared --enable-xml --enable-xmlreader=shared --enable-xmlwriter=shared --enable-zip=shared --enable-zend-multibyte --disable-static --with-libdir=lib --with-openssl=shared --with-pcre-regex=/usr --with-zlib=shared --with-bz2=shared --with-curl=shared --with-curlwrappers --with-pcre-dir --with-gd=shared --with-jpeg-dir --with-png-dir --with-freetype-dir --with-t1lib --with-gettext=shared --with-iconv=shared --with-imap=shared --with-imap-ssl --with-ldap=shared --with-ldap-sasl --with-mcrypt=shared --with-mhash=shared --with-ming=shared --with-mssql=shared --with-mysql=shared --with-mysqli=shared --enable-pdo=shared --with-pdo-dblib=shared --with-pdo-mysql=shared --with-pdo-sqlite=shared --with-pspell=shared --with-readline=shared --with-sqlite=shared --with-xmlrpc=shared --with-xsl=shared --with-pic ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45907&edit=1