is dlopen use inside a static library in iOS allowed

RK1979

I am working with a fat static library that uses dlopen() to load interal modules(.so) files inside the static library. On stackoverflow, developers says dlopen() is a private API.

In this case is it fine to use dlopen() or being an private API it shouldn't be used in user libraries irrespective of the library nature i.e static/dynamic.

If I can't use the dlopen() then can someone point to any resource for alternative way to accomplish the same task.

Note: This is regarding baresip BSD library. (http://www.creytiv.com/)

Update: The library is first trying to load all configured modules statically and if it fails then it is trying to load them dynamically using dlopen(). so removing the dynamic loading code will resolve my problem.

Michael Dorner

dlopen is not allowed on the iOS versions < iOS 8. See e.g. here.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Can I place and access a static library (.a) in the Documents or Library directory for an iOS app?

분류에서Dev

How to use static library(.a file) instead of a group of object files(.o) to create a shared library

분류에서Dev

Linking dependency to static library?

분류에서Dev

Linking a static library

분류에서Dev

AJAX allowed inside app project files

분류에서Dev

java.lang.UnsatisfiedLinkError : com.slytechs.library.NativeLibrary.dlopen (Ljava / lang / String;) J

분류에서Dev

Static value inside a colum of a database

분류에서Dev

GMP Library for iOS

분류에서Dev

iOS Linking library in xcconfig

분류에서Dev

gmailIntent from static method of a library android project

분류에서Dev

Public static member appears to be null inside public static method

분류에서Dev

Can't call static method inside class

분류에서Dev

Error using .so library inside android application

분류에서Dev

Why YouTube videos are allowed to be played while flash stuff is forbidden on iOS?

분류에서Dev

Is it possible to use C library in Flex?

분류에서Dev

Use library in windows form application

분류에서Dev

How to use ImageLoader of Volley Library?

분류에서Dev

Import use of header only library

분류에서Dev

How to use a custom library in Maven?

분류에서Dev

What is the use of "Allowed OAuth scopes" in the API Product configuration on Apigee?

분류에서Dev

iOS #define or static const for global strings

분류에서Dev

How to make a boolean both static and __block? in iOS?

분류에서Dev

Why static final variable use static method initialization need synchronized?

분류에서Dev

CMake: Buiilding an exe with a dynamic library that requires static libs

분류에서Dev

Opencv-Error while compiling libccv(static library)

분류에서Dev

Use php namespace inside function

분류에서Dev

How to use php inside of javascript?

분류에서Dev

iOS - integrate Kal library in xcode 6 errors

분류에서Dev

IOS similler to aar library project in android

Related 관련 기사

  1. 1

    Can I place and access a static library (.a) in the Documents or Library directory for an iOS app?

  2. 2

    How to use static library(.a file) instead of a group of object files(.o) to create a shared library

  3. 3

    Linking dependency to static library?

  4. 4

    Linking a static library

  5. 5

    AJAX allowed inside app project files

  6. 6

    java.lang.UnsatisfiedLinkError : com.slytechs.library.NativeLibrary.dlopen (Ljava / lang / String;) J

  7. 7

    Static value inside a colum of a database

  8. 8

    GMP Library for iOS

  9. 9

    iOS Linking library in xcconfig

  10. 10

    gmailIntent from static method of a library android project

  11. 11

    Public static member appears to be null inside public static method

  12. 12

    Can't call static method inside class

  13. 13

    Error using .so library inside android application

  14. 14

    Why YouTube videos are allowed to be played while flash stuff is forbidden on iOS?

  15. 15

    Is it possible to use C library in Flex?

  16. 16

    Use library in windows form application

  17. 17

    How to use ImageLoader of Volley Library?

  18. 18

    Import use of header only library

  19. 19

    How to use a custom library in Maven?

  20. 20

    What is the use of "Allowed OAuth scopes" in the API Product configuration on Apigee?

  21. 21

    iOS #define or static const for global strings

  22. 22

    How to make a boolean both static and __block? in iOS?

  23. 23

    Why static final variable use static method initialization need synchronized?

  24. 24

    CMake: Buiilding an exe with a dynamic library that requires static libs

  25. 25

    Opencv-Error while compiling libccv(static library)

  26. 26

    Use php namespace inside function

  27. 27

    How to use php inside of javascript?

  28. 28

    iOS - integrate Kal library in xcode 6 errors

  29. 29

    IOS similler to aar library project in android

뜨겁다태그

보관