views:

87

answers:

4

I've been using Imagemagick's mogrify on Cygwin, but at some point it stopped working. I've tried uninstalling / reinstalling, but still no go.

When I try to run mogrify it trows this error :

/usr/bin/mogrify.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

Anyone have any hints on what's causing this ?

A: 

ldd /usr/bin/mogrify will show you which libraries the executable is linked with. One or more of them is missing, and they were probably part of another package which you uninstalled.

Paul Richter
Thanks for the hint. I've checked with ldd and all the linked libraries listed are still there...
Andrei
A: 

Let 's see I am about to try graph in addition to image in the selection of packets when installing cygwin...

oliver
A: 

try this command

cygcheck mogrify

then you'll find that your missing a "cygXdmcp-6.dll"

go find it, and this problem should be solved!

good luck~

chulingyang
Thanks for your advice. However, I have already fixed the problem by compiling ImageMagick from source...so I can't say that that was the problem with my ImageMagick installation.
Andrei
A: 

Didn't find the cause of the problem, but compiling ImageMagick from source did the trick.

Andrei