ius-coredev team mailing list archive
-
ius-coredev team
-
Mailing list archive
-
Message #03288
[Bug 1252833] Re: php55u-pecl-jsonc RPMs are broken
While we typically like to get feedback before pushing packages into the
stable repos, I am going to mark this updated packages as stable-
candidate. I was able to verify the updated package does not give the
error:
# yum upgrade php55u-pecl-jsonc --enablerepo=ius-testing
...
# rpm -qa |grep jsonc
php55u-pecl-jsonc-1.3.2-4.ius.centos6.x86_64
# php -v
PHP 5.5.5 (cli) (built: Oct 29 2013 10:52:22)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
# php -m |grep json
json
-Ben
--
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/1252833
Title:
php55u-pecl-jsonc RPMs are broken
Status in IUS Community Project:
New
Bug description:
I get the following warning and the module doesn't load.
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library)
'json.so' in Unknown on line 0
I built the srpm from Remi's repo and I didn't have this issue. I
compared the IUS spec file to Remi's, and it appears that there is a
small difference in the way it is built.
In the original spec, for php versions over 5.5 (ie 5.5.5), configure
is not run with the --with-jsonc option. In the IUS package configure
is being run with that option all the time, and the .so files are
being moved from jsonc.so to json.so at the end.
I deleted the --with-jsonc and the mv commands at the end, and
everything works fine, the module loads for me.
Strange. Maybe a bug with the "--with-jsonc" option?
Oh, FYI, I was doing everything on a fully updated 64 bit CentOS 6.4.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1252833/+subscriptions
Follow ups
References