The customer encountered an error when executing the following command:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/203J3L40-0.jpg "title =" %16gnt%6punin1s(r59rt%0.jpg "alt =" 131357861.jpg"/>
Baidu and google haven't found a solution for a long time. We can see that the system upgrade will cause such a problem. Just remember that when assigning cloud hosts to customers, I upgraded centos5.6 to 5.9, the update process is incomplete, or some shared files are updated to the latest version, but some software is dependent on the old shared files. As a result, the shared files cannot be found and an error is reported. I tried it.
# Cd/usr/local/lib
# Ln-s libjpeg. so.10 libjpeg. so.9
If you run the cmd2swf command again, an error is returned. After the help, I learned about the ldd command. below is the result of man's arrival.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/203J3G64-1.jpg "title = "~ DMW4[1KZI59LC@2774ESND.jpg "alt =" 132814458.jpg"/>
The following is the ls dependency:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/203J310W-2.jpg "title =" 8mkcv1h0000ii3@dmo17?h=ev.jpg "alt =" 133136300.jpg"/>
"=>" "Indicates the so name of the shared library to be connected to by the Program on the left, and" right "indicates the specific location of the shared library found by the Linux shared library system in the file system. By default,/Etc/ld. so. confThe file contains the default shared library search path. Enter the/etc/ld. so. conf file and add the/usr/local/bin and/usr/local/lib paths.
Then remember to execute the ldconfig command to refresh/Etc/ld. so. cache. Run the cmd2swf command again.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/203J315X-3.png "title =" test.png "alt =" 133477440.png"/>
This article is from the "Linux_CPP" blog, please be sure to keep this http://fengtao.blog.51cto.com/6234457/1304140