wrt 라우터에서 Imagemagick "UnableToOpenConfigureFile" 열기

wrt 라우터에서 Imagemagick "UnableToOpenConfigureFile" 열기

TP-Link TL-WR740N/ND v4에 Open Wrt를 설치했습니다. Imagemagick을 제외한 모든 것이 잘 작동합니다. RAM에 설치했습니다(ROM에 공간이 부족함).opkg

# opkg install imagemagick imagemagick-png imagemagick-jpeg imagemagick-tools -d ram
...
...
# opkg list-installed | grep imagema
imagemagick - 6.7.8-1
imagemagick-jpeg - 6.7.8-1
imagemagick-png - 6.7.8-1
imagemagick-tools - 6.7.8-1

UnableToOpenConfigureFile하지만 구성 파일이 없기 때문에 이해가 되지 않습니다 . 생략하는 방법 아시는 분 계신가요?

# convert -debug configure picture.jpeg picture.jpeg 
2013-10-14T14:45:24+00:00 0:00.010 0.010u 6.7.8 Configure convert[2677]: utility.c/ExpandFilenames/939/Configure
  Command line: convert {-debug} {configure} {picture.jpeg} {picture.jpeg}
2013-10-14T14:45:24+00:00 0:00.020 0.020u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.7.8/coder.xml"
2013-10-14T14:45:24+00:00 0:00.020 0.020u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/lib/ImageMagick-6.7.8/config/coder.xml"
2013-10-14T14:45:24+00:00 0:00.030 0.030u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/etc/ImageMagick/coder.xml"
2013-10-14T14:45:24+00:00 0:00.030 0.030u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6.7.8/coder.xml"
2013-10-14T14:45:24+00:00 0:00.030 0.030u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/root/.magick/coder.xml"
2013-10-14T14:45:24+00:00 0:00.060 0.060u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.7.8/magic.xml"
2013-10-14T14:45:24+00:00 0:00.070 0.070u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/lib/ImageMagick-6.7.8/config/magic.xml"
2013-10-14T14:45:24+00:00 0:00.070 0.070u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/etc/ImageMagick/magic.xml"
2013-10-14T14:45:24+00:00 0:00.070 0.070u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6.7.8/magic.xml"
2013-10-14T14:45:24+00:00 0:00.070 0.070u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/root/.magick/magic.xml"
2013-10-14T14:45:24+00:00 0:00.090 0.090u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.7.8/delegates.xml"
2013-10-14T14:45:24+00:00 0:00.090 0.090u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/lib/ImageMagick-6.7.8/config/delegates.xml"
2013-10-14T14:45:24+00:00 0:00.090 0.090u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/etc/ImageMagick/delegates.xml"
2013-10-14T14:45:24+00:00 0:00.090 0.090u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6.7.8/delegates.xml"
2013-10-14T14:45:24+00:00 0:00.100 0.090u 6.7.8 Configure convert[2677]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/root/.magick/delegates.xml"
2013-10-14T14:45:24+00:00 0:00.100 0.090u 6.7.8 Configure convert[2677]: delegate.c/LoadDelegateList/1228/Configure
  Loading delegate configuration file "built-in" ...
convert: UnableToOpenConfigureFile `delegates.xml' @ warning/configure.c/GetConfigureOptions/591.
convert: NoDecodeDelegateForThisImageFormat `picture.jpeg' @ error/constitute.c/ReadImage/544.
convert: NoImagesDefined `picture.jpeg' @ error/convert.c/ConvertImageCommand/3044.

편집하다

이제 내 담당자를 우분투 상자에서 라우터로 복사하려고 하는데 성공하지 못했습니다.

이제 난 그냥 벗어났어UnableToOpenConfigureFile

# convert -debug configure picture.jpeg picture.jpeg 
2013-10-14T15:14:34+00:00 0:00.000 0.000u 6.7.8 Configure convert[2789]: utility.c/ExpandFilenames/939/Configure
  Command line: convert {-debug} {configure} {picture.jpeg} {picture.jpeg}
2013-10-14T15:14:34+00:00 0:00.010 0.000u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.7.8/coder.xml"
2013-10-14T15:14:34+00:00 0:00.010 0.000u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/lib/ImageMagick-6.7.8/config/coder.xml"
2013-10-14T15:14:34+00:00 0:00.020 0.000u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/etc/ImageMagick/coder.xml"
2013-10-14T15:14:34+00:00 0:00.020 0.000u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6.7.8/coder.xml"
2013-10-14T15:14:34+00:00 0:00.020 0.000u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/root/.magick/coder.xml"
2013-10-14T15:14:34+00:00 0:00.020 0.000u 6.7.8 Configure convert[2789]: coder.c/LoadCoderList/693/Configure
  Loading coder configuration file "/usr/share/ImageMagick-6.7.8/coder.xml" ...
2013-10-14T15:14:34+00:00 0:00.050 0.030u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.7.8/magic.xml"
2013-10-14T15:14:34+00:00 0:00.060 0.040u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/lib/ImageMagick-6.7.8/config/magic.xml"
2013-10-14T15:14:34+00:00 0:00.060 0.040u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/etc/ImageMagick/magic.xml"
2013-10-14T15:14:34+00:00 0:00.060 0.040u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6.7.8/magic.xml"
2013-10-14T15:14:34+00:00 0:00.060 0.040u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/root/.magick/magic.xml"
2013-10-14T15:14:34+00:00 0:00.080 0.060u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.7.8/delegates.xml"
2013-10-14T15:14:34+00:00 0:00.080 0.060u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/lib/ImageMagick-6.7.8/config/delegates.xml"
2013-10-14T15:14:34+00:00 0:00.080 0.060u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/etc/ImageMagick/delegates.xml"
2013-10-14T15:14:34+00:00 0:00.080 0.060u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6.7.8/delegates.xml"
2013-10-14T15:14:34+00:00 0:00.090 0.060u 6.7.8 Configure convert[2789]: configure.c/GetConfigureOptions/564/Configure
  Searching for configure file: "/root/.magick/delegates.xml"
2013-10-14T15:14:34+00:00 0:00.090 0.060u 6.7.8 Configure convert[2789]: delegate.c/LoadDelegateList/1228/Configure
  Loading delegate configuration file "/usr/share/ImageMagick-6.7.8/delegates.xml" ...
convert: NoDecodeDelegateForThisImageFormat `picture.jpeg' @ error/constitute.c/ReadImage/544.
convert: NoImagesDefined `picture.jpeg' @ error/convert.c/ConvertImageCommand/3044.

답변1

delegates.xmlimagemagick이 검색하는 디렉터리( /root/.magick/또는 /usr/share/doc/ImageMagick-6.7.8/또는 /usr/share/ImageMagick-6.7.8/또는 /usr/lib/ImageMagick-6.7.8/config/또는 /etc/ImageMagick/.) 에 구성 파일 등을 설치 해야 합니다 .

다른 디렉터리에서 검색해야 하는 경우 해당 디렉터리를 올바른 디렉터리에 심볼릭 링크하거나 imagemagick을 다시 컴파일해야 합니다.

관련 정보