← Back to team overview

ius-coredev team mailing list archive

[Bug 1252833] [NEW] php55u-pecl-jsonc RPMs are broken

 

Public bug reported:

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.

** Affects: ius
     Importance: Undecided
         Status: New

** Description changed:

  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.

-- 
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