php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62758 Undefined symbol pval_destructor
Submitted: 2012-08-06 15:56 UTC Modified: 2012-11-02 18:00 UTC
From: ptim007 at yahoo dot com Assigned: felipe (profile)
Status: Closed Package: yaz (PECL)
PHP Version: 5.4.5 OS: Linux (Fedora 17)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ptim007 at yahoo dot com
New email:
PHP Version: OS:

 

 [2012-08-06 15:56 UTC] ptim007 at yahoo dot com
Description:
------------
On Fedora core 17 (64 bits), with php 5.4.5 (latest version), when I build 
yaz.so, there is an undefined symbol pval_destructor

I followed the standard procedure to download php-yaz and to build it (see test 
script below).

version info;

yaz 4.2.17-2 (obtained via yum install yaz)

php-yaz version 1.1.3
php 5.4.5-1

When I run make test, it complains about an undefined symbol "pval_destructor"

I had this problem earlier with php 5.4.4, then I installed php 5.4.5 from the 
fedora updates-testing repository and the problem disappeared, but now it is 
happening again



Test script:
---------------
cd /root
mkdir tempo
cd tempo
pecl download yaz
gunzip yaz-1.1.3.tgz 
tar xvf yaz-1.1.3.tar 
cd yaz-1.1.3/
phpize
./configure 
make

make test

Build complete.
Don't forget to run 'make test'.

PHP Warning:  PHP Startup: Unable to load dynamic library '/root/tempo/yaz-1.1.3/modules/yaz.so' - /root/tempo/yaz-1.1.3/modules/yaz.so: undefined symbol: pval_destructor in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/root/tempo/yaz-1.1.3/modules/yaz.so' - /root/tempo/yaz-1.1.3/modules/yaz.so: undefined symbol: pval_destructor in Unknown on line 0

=====================================================================
PHP         : /usr/bin/php 
Warning: PHP Startup: Unable to load dynamic library '/root/tempo/yaz-1.1.3/modules/yaz.so' - /root/tempo/yaz-1.1.3/modules/yaz.so: undefined symbol: pval_destructor in Unknown on line 0

PHP_SAPI    : cli
PHP_VERSION : 5.4.5
ZEND_VERSION: 2.4.0
PHP_OS      : Linux - Linux romero 3.5.0-2.fc17.x86_64 #1 SMP Mon Jul 30 14:48:59 UTC 2012 x86_64
INI actual  : /root/tempo/yaz-1.1.3/tmp-php.ini
More .INIs  :  
CWD         : /root/tempo/yaz-1.1.3
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
TIME START 2012-08-06 15:42:10
=====================================================================
No tests were run.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-13 15:03 UTC] dickmeiss@php.net
Should be fixed in 1.1.4
 [2012-08-24 21:13 UTC] ptim007 at yahoo dot com
Thanks a lot

I found only one occurence of pval_destructor in php_yaz.c, I replaced it by 
zval_dtor. Then I could compile and build without error. And it seems to work. I 
suppose that the lastest version of PHP has dropped the macro definition 
pval_destructor (which I found via google in php3_compat.h).

In any case thanks a lot for this php_yaz library !

Pierre
 [2012-11-02 18:00 UTC] felipe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: felipe
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Dec 04 23:01:23 2020 UTC