Linux distribution binary compatibility

前端 未结 10 1227
日久生厌
日久生厌 2021-01-30 14:23

Any way to make a binary in a Linux distribution and run it on another distribution with same architecture? Or I should compile and build it on different distributions?

10条回答
  •  生来不讨喜
    2021-01-30 14:44

    LSB is definitely worth checking out. Though in regards of working with libraries I was most satisfied by this answer here at SO https://stackoverflow.com/questions/1209674/shipping-closed-source-application-for-linux/1242738#1242738 and this detailed treatment of the rpath mechanism http://www.eyrie.org/~eagle/notes/rpath.html

提交回复
热议问题