Deploying C app that uses the PCRE library

前端 未结 3 819
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-21 09:32

I wrote a C app that uses the PCRE library. Everything works on my own computer. However, when I copy the binary over to another computer and run it, it gives the following erro

3条回答
  •  迷失自我
    2021-01-21 10:06

    It's better to either install it or link it in statically. The former, of course, is lighter on resources. The best way to ensure compatibility would be to build the package for target system, specifying all dependencies (depends on the distribution, of coursE).

提交回复
热议问题