4. 故障排除(OLEX2使用手冊(cè))
原文如下:
Troubleshooting
libpng library problem on Linux
Olex2 works fine on most Linux platforms, however sometimes you may experience the following - the 'start' script does nothing or Olex2 window briefly flashes and disappears. In this case you will need to sort out the libpng problem. Olex2 is provided with two versions of libpng - 12 and 16. These libraries are located in olex2/lib folder. If you system provides any of these libraries - you should install the system ones and remove the ones provided with Olex2 - this sorts the problem out.
Here is an example for Fedora 21 (it provides libpng12 and 15):
? ? 1. sudo yum install libpng12
? ? 2. rm olex2/lib/libpng12.so
? ? 3. Olex2 works now
譯文如下:
4.?故障排除
4.1. Linux中的libpng庫(kù)問(wèn)題
Olex2在大多數(shù)Linux平臺(tái)上都可以正常工作,但有時(shí)你可能會(huì)遇到以下情況:'start'腳本什么也不做,或者Olex2閃退。在這種情況下,你需要解決libpng庫(kù)問(wèn)題。Olex2提供了兩種版本的libpng庫(kù):12和16。這些庫(kù)位于olex2/lib文件夾中。如果你的系統(tǒng)提供了這些庫(kù)中的任何一個(gè)——你應(yīng)該安裝系統(tǒng)提供的庫(kù)并刪除Olex2提供的庫(kù)——這就解決了問(wèn)題。
下面是Fedora 21的示例(它提供了libpng 12和15):
1. sudo yum install libpng12
2. rm olex2/lib/libpng12.so
3. Olex2 works now
公眾號(hào)文章鏈接:
https://mp.weixin.qq.com/s?__biz=MzU0NjkzMTM1MQ==&mid=2247485364&idx=6&sn=a50f0a999ee7cf911a552afd805d6b5a&chksm=fb57504ccc20d95ae7d97368b96faf39b9d14dd8b3694ec98cb04706e3efc53c66485f090326&token=258865377&lang=zh_CN#rd
