Loading shared libs that depend on other shared libs

后端 未结 2 1136
难免孤独
难免孤独 2020-12-02 23:45

Problem:

I am building Android app in Eclipse which uses shared lib libgstreamer-0.10.so (GStreamer-android NDK Bundle libs compile

2条回答
  •  無奈伤痛
    2020-12-03 00:40

    1. I'm not sure you can do for Java apps. For native command line applications you can do that by setting LD_LIBRARY_PATH environment variable before stating application.

    2. This is correct solution. Somewhere in NDK docs this is mentioned that you need to load all the dependent libraries this way.

    3. No, you can not do that.

提交回复
热议问题