Issue 216: Android shared object searched in false locations by hxLoadLibrary
Status:  Invalid
Owner: ----
Closed:  Dec 2012
Reported by Mihai...@gmail.com, Dec 9, 2012
The tried locations on Android are:

./libxyz.so
libxyz.so
./libxyz.ndll
libxyz.ndll

These are incorrect because dlopen on Android is not equivalent to the LibC version and works reliably _only_ with _absolute_ paths. Android also doesn't use a LD_LIBRARY_PATH.

An elegant solution is to use Dl_Info from the dladdr function to get the path to the shared libraries. This function would allow to extract the valid location for dlopen.
Dec 10, 2012
#1 Mihai...@gmail.com
It could be ignored though, if the libraries are preloaded with dlopen or LoadLibrary previously, then dlopen("lib.so") finds them immediately.

I guess this issue is solved.
Dec 12, 2012
Project Member #2 si...@haxe.org
(No comment was entered for this change.)
Status: Invalid