From:             olivier at ajeux dot com
Operating system: Linux i686 2.6.17
PHP version:      5.3CVS-2008-08-25 (snap)
PHP Bug Type:     Compile Failure
Bug description:  undefined reference to `PHP_SHA512Init'

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 bug report at http://bugs.php.net/?id=45907&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45907&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45907&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45907&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45907&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45907&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45907&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45907&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45907&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45907&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45907&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45907&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45907&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45907&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45907&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45907&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45907&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45907&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45907&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45907&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45907&r=mysqlcfg

Reply via email to