How to build c program for multiple platform?

56 views Asked by At

I followed this page(https://github.com/ipmitool/ipmitool/blob/master/INSTALL) and run "./confirgue --build=x86_64" to built ipmitool.c on CentOS7.9. But the built file run on ubuntu20.04 will show "./ipmitool: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory."

Q: Is it probable to build a portable ipmitool for multiple Linux platforms?

0

There are 0 answers