VincentWei / MiniGUI

A modern and mature cross-platform window system for embedded systems and smart IoT devices.
http://www.minigui.com
GNU General Public License v3.0
695 stars 157 forks source link

5.0版本编译后的可执行文件无法执行 #37

Closed meltsnow closed 4 years ago

meltsnow commented 4 years ago

报错内容: error while loading shared libraries: libminigui_procs-5.0.so.0: cannot open shared object file: No such file or directory 问题是我make&make install的时候,是安装成功了的,编译mgsample的代码过程也没问题,但是一旦执行的时候就会报这个错误(4.X版本没有上述内容的错误)提示报错的文件在/usr/local/lib中存在

PS:官方给的mg-samples有一个瑕疵错误就是如果configure后,make的时候会提示缺少-lfreetype,(注意这个逗号),似乎是configure的文件的错误

VincentWei commented 4 years ago

According to the prompt text you gave, this is because that it is the first time to install the minigui shared libraries into your system. You need to run ldconfig commend to refresh the shared library cache of the system:

$ sudo ldconfig

Otherwise, the system can not find the MiniGUI shared libraries correctly.

We will check the issue about -lfreetype.

Thanks