PHP
·
发表于 5年以前
·
阅读量:8315
±¾ÎÄʵÀý½²ÊoÁË°²×°°²×°ImageMagick³oÏÖerror while loading shared librariesµÄ½a¾o½¨¡£ÖÏi¸ø´o¼Ò¹(C)´o¼Ò²Î¿¼¡£¾ßÌa½a¾o½*¨ÈçÏ£º
ÔËÐгÌÐoʱ£¬ÈçÓoµ½ÏñÏÂÁÐÕaÖÖ´iÎo£º
./tests: error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or directory
ÄǾͱiʾϵͳ²»ÖªµÀxxx.so *ÅÔÚÄĸoĿ¼Ï¡£
Õa¸oʱºo¾ÍÒªÔÚ/etc/ld.so.confÖмÓÈexxx.soËuÔÚµÄĿ¼¡£
Ò»°a¶øÑÔ£¬Óкܶasoµµ»aÔÚ/usr/local/libÕa¸oĿ¼Ï£¬ËuÒÔÔÚ/etc/ld.so.confÖмÓÈe/usr/local/libÕaÒ»ÐУ¬¿ÉÒÔ½a¾o´ËÎÊÌa¡£
½« /etc/ld.so.conf´aeµµºo£¬»¹ÒªÖ´ÐС¸/sbin/ldconfig ¨Cv¡¹À´¸uÐÂһϲŻaÉuЧ¡£
Ï£Íu±¾ÎÄËuÊo¶Ô´o¼ÒÓÐËu°iÖu¡£