Multiple glibc libraries on a single host

后端 未结 11 1508
轮回少年
轮回少年 2020-11-21 05:13

Multiple glibc libraries on a single host

My linux (SLES-8) server currently has glibc-2.2.5-235, but I have a program which won\'t work on this version and requires

11条回答
  •  梦如初夏
    2020-11-21 06:02

    Use LD_PRELOAD: put your library somewhere out of the man lib directories and run:

    LD_PRELOAD='mylibc.so anotherlib.so' program
    

    See: the Wikipedia article

提交回复
热议问题