Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power


#Servers
#Opensource
 View Only
  • 1.  libpng seems to be missing some libraries

    Posted 11/28/19 07:42 PM

    Originally posted by: UGP1_Alan_Collins


    I have just updated a system that uses RPM libpng for apache.

     

    It updated from 1.6.27-2 to 1.6.27-3 using YUM.

     

    Afterwards, the apache version we are running failed, looking for missing library:

    httpd: Syntax error on line 481 of /etc/apache2/httpd.conf: Cannot load /opt/apache2/modules/libphp5.so into server: \t0509-022 Cannot load module /opt/apache2/modules/libphp5.so.\n\t0509-150   Dependent module /opt/freeware/lib/libpng.a(libpng.so.3) could not be loaded.\n\t0509-152   Member libpng.so.3 is not found in archive \n\t0509-022 Cannot load module /opt/apache2/modules/libphp5.so.\n\t0509-150   Dependent module /opt/apache2/modules/libphp5.so could not be loaded.

     

    The new version seems to be missing some libraries:

    # ar -tv /opt/freeware/lib/libpng.a
    rwxr-xr-x   205/1     341209 Aug 29 14:43 2019 libpng16.so.16

     

    Old version:

    # ar -tv /opt/freeware/lib/libpng.a
    rwxr-xr-x   208/1     339057 May 15 20:40 2017 libpng16.so.16
    rwxr-xr-x   208/1     636345 May 15 20:47 2017 libpng.so.3
    rwxr-xr-x   208/1     617615 May 15 20:47 2017 libpng12.so.0
    rwxr-xr-x   208/1     231525 May 15 20:47 2017 libpng14.so.14
    rwxr-xr-x   208/1     290130 May 15 20:47 2017 libpng15.so.15
     

    Is this expected, or is there a packaging issue? Downdating the RPM fixed it for me.


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: libpng seems to be missing some libraries

    Posted 11/29/19 01:58 AM

    Originally posted by: AyappanP


    libpng.so.3 is very very old library. We removed it intentionally only. 

    I suggest you to update apache & php to some recent releases. 


    #AIXOpenSource
    #AIX-Open-Source-Software