Compile with older libc (version `GLIBC_2.14' not found)

前端 未结 2 1492
后悔当初
后悔当初 2020-12-01 12:04

I have to compile a program on a current ubuntu (12.04). This program should then run on a cluster using CentOS with an older Kernel (2.6.18). I cannot compile on the cluste

2条回答
  •  无人及你
    2020-12-01 12:36

    -rpath sets the DT_RPATH tag but doesn't tell the linker to look there for libs, you want -L for that.

提交回复
热议问题