#author("2023-08-28T09:02:55+09:00","default:kuji","kuji") CONTENTS #contents ---- Lastmodified &lastmod; ---- *Nextcloud imagick missing? [#s533f13b] sun1.smb.net というサーバで、Nextclud を稼働させていて、ある日「セキュリティ&セットアップ警告」に「imagick」が無いとのメッセージが。 imagick は、pecl-imagick をインストールしていたので、再インストールを試みると、 /usr/local/lib/perl5/5.32/mach/CORE/perl.h:667:21: note: expanded from macro 'STMT_END' # define STMT_END ) ^ 268 warnings generated. rm -f ../blib/arch/auto/Image/Magick/Q16HDRI/Q16HDRI.so cc -L../../MagickCore/.libs -lMagickCore-7 -shared -L/usr/local/lib/perl5/5.32/mach/CORE -lperl -L/usr/local/lib -fstack-protector-strong -lpthread -fstack-protector-strong -L/usr/local/lib Q16HDRI.o -o ../blib/arch/auto/Image/Magick/Q16HDRI/Q16HDRI.so \ -L/usr/ports/graphics/ImageMagick7/work-x11/ImageMagick-7.1.0-62/PerlMagick/quantum/../../MagickCore/.libs -lm -L/usr/local/lib/perl5/5.32/mach/CORE \ ld: error: unable to find library -lMagickCore-7 cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[7]: *** [Makefile:479: ../blib/arch/auto/Image/Magick/Q16HDRI/Q16HDRI.so] Error 1 gmake[7]: Leaving directory '/usr/ports/graphics/ImageMagick7/work-x11/ImageMagick-7.1.0-62/PerlMagick/quantum' gmake[6]: *** [Makefile:510: subdirs] Error 2 gmake[6]: Leaving directory '/usr/ports/graphics/ImageMagick7/work-x11/ImageMagick-7.1.0-62/PerlMagick' gmake[5]: *** [Makefile:13865: install-exec-perl] Error 2 gmake[5]: Leaving directory '/usr/ports/graphics/ImageMagick7/work-x11/ImageMagick-7.1.0-62' gmake[4]: *** [Makefile:12741: install-am] Error 2 gmake[4]: Leaving directory '/usr/ports/graphics/ImageMagick7/work-x11/ImageMagick-7.1.0-62' gmake[3]: *** [Makefile:12734: install] Error 2 gmake[3]: Leaving directory '/usr/ports/graphics/ImageMagick7/work-x11/ImageMagick-7.1.0-62' gmake[2]: *** [Makefile:12745: install-strip] Error 2 gmake[2]: Leaving directory '/usr/ports/graphics/ImageMagick7/work-x11/ImageMagick-7.1.0-62' *** Error code 2 Stop. make[1]: stopped in /usr/ports/graphics/ImageMagick7 *** Error code 1 Stop. make: stopped in /usr/ports/graphics/ImageMagick7 と、ImageMagick7 のインストールの所でエラー、終了・・・。 **pkg install ImageMagick7 [#fc7ac326] root@sun1: # pkg install ImageMagick7 Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 10 package(s) will be affected (of 0 checked): New packages to be INSTALLED: ImageMagick7: 7.1.0.62_5 libXfont2: 2.0.5 libepoxy: 1.5.9 libudev-devd: 0.5.1 libxcvt: 0.1.2_1 libxkbfile: 1.1.0 mesa-dri: 22.3.7_2 xkbcomp: 1.4.5 xkeyboard-config: 2.34_2 xorg-server: 21.1.8_2,1 Number of packages to be installed: 10 The process will require 90 MiB more space. 9 MiB to be downloaded. ** # cd /usr/ports/graphics/pecl-imagick [#s000100f] ** make install clean [#ue883bf0] ** apatchctl restart [#h3d38aff] de 一応「Solved」 ---- Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday); #counter([total|today|yesterday]);