CAN't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/image/magick/magick.so' for module image :: magick: libmagick.so.10: Cannot Open Shared Object File: No sudh file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/dynalaoader.pm line 230.
Refer to the link:
Http://studio.imagemagick.org/discussion-server/viewtopic.php?t=4392&Start=0&postdays=0&portRDER =Aasc&highlight=&sid=1c776319ab2e39b0Eaa5bb3c35b501bf
http://redux.imagemagick.org/discussion-server/viewtopic.php?p=166999999999999999998888883883836222D14
http://studio.imagemagick.org/magick/viewtopic.php?t=1858&highlight =Libmagick cannot Open Shared Object file
Solution:
ln -s /usr/local/lib/libmagick.so.10 / usr / lib actually knows from the beginning, libmagick.so.10 This file is only existed under / usr / local / lib, but I seem to have done LDConfig. And set LD_Library_Path. Can't understand why, tossing for a long time. . .
In addition, in the general PL script, use image :: magick is not this problem, it seems that only in the CGI will appear, it is even more understanding. . .