No libdl.a static library
- Dominant language
- No language data
- Stars
- 2.3k
- Forks
- 310
- PR merge metrics
- No merged PRs in 30d
Description
#### SSIA, there is no static version of the libdl library
This makes static builds which attempt to dynamically open other libraries impossible. Missing libz.a or libm.a could be worked around by using dlopen()/dlsym()/dlclose(), but missing libdl.a _cannot_ be worked around (unless one is an expert with writing one's own dynamic linker).
#### Environment Details
* NDK Version: 15.1.4119039
* Build sytem: ndk-build
* Host OS: Linux
* Compiler: Clang
* NDK API level: All (`find ${NDK_DIR} -name libdl.a` => no results)
Contributor guide
Research direction
Start by inspecting the NDK build and packaging configuration used by ndk-build, then verify the library outputs with the reported find command across API levels. Done means a libdl.a is available for the supported API levels and static builds can use dlopen(), dlsym(), and dlclose().
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100