Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译成功后,拷贝到其他虚拟机运行吗? #285

Closed
LYP857 opened this issue Dec 11, 2023 · 2 comments
Closed

编译成功后,拷贝到其他虚拟机运行吗? #285

LYP857 opened this issue Dec 11, 2023 · 2 comments

Comments

@LYP857
Copy link

LYP857 commented Dec 11, 2023

我之前用ubutun编译成功后,把整个文件夹压缩拷贝到其他centos7的虚拟机上运行,是会报错 error while loading shared libraries: ./lib/libosg.so.202: file too short的,osgb这些编译后不是离线的吗,为什么还会报错?是环境问题?只能在这编译的环境里面用?

@fanvanzh
Copy link
Owner

应该不行, linux 内核版本不同,程序依赖的C库版本不一样

@fanvanzh
Copy link
Owner

主页增加了 ubutun/centos 的 build 说明

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants