Discover Centmin Mod today
Register Now

[Solved] New install: Unable to load dynamic library 'imagick.so'

Discussion in 'Bug Reports' started by jcat, Mar 19, 2019.

  1. jcat

    jcat Member

    130
    18
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +49
    Local Time:
    3:12 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 7 64bit ?
    • Centmin Mod Version Installed: i.e. 123.09beta01
    • Nginx Version Installed: i.e. 1.15.9
    • PHP Version Installed: i.e. 7.2.16
    • MariaDB MySQL Version Installed: i.e. 10.3.13
    • When was last time updated Centmin Mod code base ? : Just before trying to reinstall imagick
    • Persistent Config:

      Code:
      NGXDYNAMIC_BROTLI=y
      NGINX_LIBBROTLI=y
      ZSTD_LOGROTATE_NGINX=y
      ZSTD_LOGROTATE_PHPFPM=y
      MARIADB_INSTALLTENTHREE=y
      PHP_BROTLI=y
      PHP_LZFOUR=y
      PHP_LZF=y
      PHP_PGO=y
      PHP_ZSTD=y
      LETSENCRYPT_DETECT='y'
      DUALCERTS='y'
      



      Code:
      Enter option [ 1 - 24 ] 15
      --------------------------------------------------------
      Check for php extensions
      Downloading imagick extension
      Download imagick-3.4.3.tgz ...
      imagick-3.4.3.tgz found, skipping download...
      imagick-3.4.3.tgz valid file.
      
      
      Check for ImageMagicK System Updates (YUM)
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile
       * base: mirror.es.its.nyu.edu
       * epel: mirror.steadfastnet.com
       * extras: mirror.rackspace.com
       * remi: mirror.team-cymru.com
       * updates: mirror.cisp.com
      Resolving Dependencies
      --> Running transaction check
      ---> Package ImageMagick6.x86_64 0:6.9.10.34-1.el7.remi will be installed
      ---> Package ImageMagick6-c++.x86_64 0:6.9.10.34-1.el7.remi will be installed
      ---> Package ImageMagick6-c++-devel.x86_64 0:6.9.10.34-1.el7.remi will be installed
      ---> Package ImageMagick6-devel.x86_64 0:6.9.10.34-1.el7.remi will be installed
      --> Processing Dependency: libwebp7-devel(x86-64) for package: ImageMagick6-devel-6.9.10.34-1.el7.remi.x86_64
      --> Processing Dependency: openjpeg2-devel(x86-64) for package: ImageMagick6-devel-6.9.10.34-1.el7.remi.x86_64
      ---> Package ImageMagick6-libs.x86_64 0:6.9.10.34-1.el7.remi will be installed
      --> Processing Dependency: libraw.so.5()(64bit) for package: ImageMagick6-libs-6.9.10.34-1.el7.remi.x86_64
      --> Processing Dependency: libwebpmux.so.3()(64bit) for package: ImageMagick6-libs-6.9.10.34-1.el7.remi.x86_64
      --> Processing Dependency: libwebp.so.7()(64bit) for package: ImageMagick6-libs-6.9.10.34-1.el7.remi.x86_64
      --> Running transaction check
      ---> Package LibRaw.x86_64 0:0.14.8-5.el7.20120830git98d925 will be installed
      ---> Package libwebp7.x86_64 0:1.0.2-1.el7.remi will be installed
      ---> Package libwebp7-devel.x86_64 0:1.0.2-1.el7.remi will be installed
      ---> Package openjpeg2-devel.x86_64 0:2.3.0-6.el7 will be installed
      --> Processing Dependency: openjpeg2(x86-64) = 2.3.0-6.el7 for package: openjpeg2-devel-2.3.0-6.el7.x86_64
      --> Processing Dependency: openjpeg2-tools(x86-64) = 2.3.0-6.el7 for package: openjpeg2-devel-2.3.0-6.el7.x86_64
      --> Processing Dependency: libopenjp2.so.7()(64bit) for package: openjpeg2-devel-2.3.0-6.el7.x86_64
      --> Running transaction check
      ---> Package openjpeg2.x86_64 0:2.3.0-6.el7 will be installed
      ---> Package openjpeg2-tools.x86_64 0:2.3.0-6.el7 will be installed
      --> Processing Conflict: libwebp7-devel-1.0.2-1.el7.remi.x86_64 conflicts libwebp-devel < 1.0.2
      --> Finished Dependency Resolution
      Error: libwebp7-devel conflicts with libwebp-devel-0.3.0-7.el7.x86_64
       You could try using --skip-broken to work around the problem
       You could try running: rpm -Va --nofiles --nodigest
      
     
  2. Sunka

    Sunka Well-Known Member

    1,140
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    9:12 PM
    Nginx 1.17.9
    MariaDB 10.3.22
    same here
     
  3. eva2000

    eva2000 Administrator Staff Member

    45,192
    10,277
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,927
    Local Time:
    5:12 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Just updated 123.09beta01 with fix run cmupdate command and re-run centmin.sh menu option 15 should work now
     
  4. jcat

    jcat Member

    130
    18
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +49
    Local Time:
    3:12 PM
    I had to yum remove libwebp-devel and then run 15
     
  5. Sunka

    Sunka Well-Known Member

    1,140
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    9:12 PM
    Nginx 1.17.9
    MariaDB 10.3.22
    working :)
     
  6. eva2000

    eva2000 Administrator Staff Member

    45,192
    10,277
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,927
    Local Time:
    5:12 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    yeah updated fix takes care of that doing a yum swap for the newer libwebp7-devel package released March 11, 2019 from libwebp-devel
     
  7. pdinh97qng

    pdinh97qng Member

    91
    10
    8
    Jan 24, 2016
    Ratings:
    +27
    Local Time:
    12:12 PM
    @eva2000 during a compile nginx via option 4, i got this same error today:
    Code:
    ---> Package libwebp-devel.x86_64 0:0.3.0-7.el7 will be installed
    --> Processing Conflict: libwebp7-devel-1.0.3-1.el7.remi.x86_64 conflicts libwebp-devel < 1.0.3
    --> Finished Dependency Resolution
    Error: libwebp7-devel conflicts with libwebp-devel-0.3.0-7.el7.x86_64
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
     
  8. eva2000

    eva2000 Administrator Staff Member

    45,192
    10,277
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,927
    Local Time:
    5:12 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    centmin.sh menu option 4 (for nginx) or option 5 (for php) ? as libweb-devel is related to PHP and not nginx routines ?

    does running cmupdate and then centmin.sh menu option 15 fix your problem as outlined above ?
     
  9. pdinh97qng

    pdinh97qng Member

    91
    10
    8
    Jan 24, 2016
    Ratings:
    +27
    Local Time:
    12:12 PM
    It's a new installation of Centmin Mod, and run YUM install checks during nginx compile. Even rerun option 4 after option 15, same thing happen.
     
  10. eva2000

    eva2000 Administrator Staff Member

    45,192
    10,277
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,927
    Local Time:
    5:12 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    if you don't re-run yum checks it's okay ? you don't need to do a yum check usually so answering no is ok