4. 故障排除(OLEX2使用手册)
原文如下:
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库问题
Olex2在大多数Linux平台上都可以正常工作,但有时你可能会遇到以下情况:'start'脚本什么也不做,或者Olex2闪退。在这种情况下,你需要解决libpng库问题。Olex2提供了两种版本的libpng库:12和16。这些库位于olex2/lib文件夹中。如果你的系统提供了这些库中的任何一个——你应该安装系统提供的库并删除Olex2提供的库——这就解决了问题。
下面是Fedora 21的示例(它提供了libpng 12和15):
1. sudo yum install libpng12
2. rm olex2/lib/libpng12.so
3. Olex2 works now
公众号文章链接:
https://mp.weixin.qq.com/s?__biz=MzU0NjkzMTM1MQ==&mid=2247485364&idx=6&sn=a50f0a999ee7cf911a552afd805d6b5a&chksm=fb57504ccc20d95ae7d97368b96faf39b9d14dd8b3694ec98cb04706e3efc53c66485f090326&token=258865377&lang=zh_CN#rd
