pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/46663: php zlib undefined weak symbol



Le 09.07.2012 14:20, OBATA Akio a écrit :
The following reply was made to PR pkg/46663; it has been noted by GNATS.

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/46663: php zlib undefined weak symbol
Date: Mon, 09 Jul 2012 21:17:26 +0900

 On Fri, 06 Jul 2012 16:45:00 +0900, <frederic%fauberteau.org@localhost> wrote:

 >> Description:
 > php returns error code 1 when zlib extension is activated. The
installed programs are :
 > - php-5.3.14
 > - php53-zlib-5.3.14
 > This leads to fail pear package installation.

 Don't you have any other PHP extensions?
 If so, how about reorder "extension=..." in php.ini?

Ok, I had these extensions where zlib was the last one:

extension=bz2.so
extension=dom.so
extension=exif.so
extension=gd.so
extension=gettext.so
extension=iconv.so
extension=imap.so
extension=json.so
extension=mbstring.so
extension=mcrypt.so
extension=mysql.so
extension=mysqli.so
extension=pgsql.so
extension=sockets.so
extension=zlib.so

and it didn't work.
If I put zlib on top, it works fine. But where I can find the good extension declaration order?

Thank you and sorry for this report which actually was not a bug.

 >> How-To-Repeat:
 >> php
 > <?php print("hello world\n"); ?>
 > Ctrl+d
 > hello world
 > /usr/pkg/lib/php/20090630/zlib.so: Trying to call undefined weak
symbol `__deregister_frame_info'
 >> echo $?
 > 1

 I cannot reproduce on NetBSD-5.1.2 (but i386).

 --
 OBATA Akio / obache%NetBSD.org@localhost

--
Frédéric Fauberteau


Home | Main Index | Thread Index | Old Index