Alternatives to dlsym() and dlopen() in C++

后端 未结 5 818
北荒
北荒 2020-12-07 17:55

I have an application a part of which uses shared libraries. These libraries are linked at compile time.
At Runtime the loader expects the shared object to be in the <

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-07 18:28

    You can wrap your application with another one which first checks for all the required libraries, and if something is missing it errors out nicely, but if everything is allright it execs the real application.

提交回复
热议问题