How to run GUI via remort server

余生长醉 提交于 2019-12-25 08:57:10

问题


I'm using Qtcreator to make GUI.

Ideally, I build the project in my local pc (CentOS virtual terminal), and move it to remort server(CentOS). Finally, I want to run it in windows system via X server(VcXsrv i use).

As operation verification, I create a new file and build as it is. At first, it generates many errors in remort server, such as "./test: /lib64/libc.so.6: version GLIBC_2.14 not found (required by /users/my/Qt/5.9.1/gcc_64/lib/libQt5Gui.so.5)". I don't have root permission and can't update /lib64/, so download latest lib64 to my directory, and add to LD_LIBRARY_PATH. Previous error is solved but the error message "segmentation fault (core dumped)" comes to appear.

Why this problem occur even though it is a raw project?

Can anyone help me to solve the problem?


回答1:


so download latest lib64 to my directory, and add to LD_LIBRARY_PATH. Previous error is solved but the error message "segmentation fault (core dumped)" comes to appear.

That will never work. This answer explains what you should do instead.



来源:https://stackoverflow.com/questions/46257907/how-to-run-gui-via-remort-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!