https://bugzilla.novell.com/show_bug.cgi?id=656955

https://bugzilla.novell.com/show_bug.cgi?id=656955#c1


Jonathan Pryor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Jonathan Pryor <[email protected]> 2010-12-04 02:27:53 UTC 
---
Fixed in r8837.

Investigating this bug has raised an interesting (unresolved) problem: if you
use the Android NDK build system (ndk-build + Android.mk files), and have one
library (libused.so) and a library which links against the first library
(libuser.so):

    LOCAL_PATH := $(call my-dir)

    include $(CLEAR_VARS)

    LOCAL_MODULE    := used
    LOCAL_SRC_FILES := used.c

    include $(BUILD_SHARED_LIBRARY)

    include $(CLEAR_VARS)

    LOCAL_SHARED_LIBRARIES = used
    LOCAL_MODULE    := user
    LOCAL_SRC_FILES := user.c

    include $(BUILD_SHARED_LIBRARY)

attempting to load libuser.so will FAIL, as LD_LIBRARY_PATH doesn't contain
$APPDIR/lib, and thus dlopen() won't check $APPDIR/lib for libused.so. I don't
see this documented anywhere on the Android site.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to