#45907 [Opn->Fbk]: undefined reference to `PHP_SHA512Init'
| From: | felipe@php.net | Date: | Fri, 29 Aug 2008 13:27:38 +0000 |
| Subject: | #45907 [Opn->Fbk]: undefined reference to `PHP_SHA512Init' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-128524@lists.php.net to get a copy of this message | ||
ID: 45907
Updated by: felipe@php.net
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-08-25 (snap)
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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