This approach won't work too.., as there is not enough space left in /system/lib.. (symbolic links seems not to be working... )Maybe another approach:Is it possible to implement the following scenario:I create a small java app for android, this app references a NDK Build Shared Lib..this shared lib references then my ported lib...Is such a scenario possible with android 1.5 ?
Since David Turner seem to suggests (see the email thread below) that
LD_LIBRARY_PATH should have been fixed in NDK_1.6 release, has it
already been fixed? If yes, then does simply setting LD_LIBRARY_PATH
with adb shell export LD_LIBRARY_PATH=<path-to-my-libs>:
$LD_LIBRARY_PATH, work? I am not sure how would one set the
LD_LIBRARY_PATH on Android.
If someone has been able to re mount /system/lib in a read write
location then could someone please let me know where it is being
remounted?
On a desktop linux system, one can mount any non read write mount to /
tmp (which has r/w permission by default) with mount --bind /from-
dir/ /tmp/ and then rebind it to the <from-dir> making it writable.
Any help is appreciated,
Thanks in advance,
Divkis
---------- Forwarded message ----------
From: David Turner <di...@android.com>
Date: Aug 4 2009, 11:30 pm
Subject: Shared Library Load Path
To: android-ndk
This is not currently possible with Android 1.5. I believe the next
system
release will support LD_LIBRARY_PATH which will solve the issue.
On Tue, Aug 4, 2009 at 7:51 PM, karl-heinz reichel
It worked for me in Android 2.1 (on the emulator).
But shouldn't it be also in 1.6 (Donut)? It didn't seem to work.
http://android.git.kernel.org/?p=platform%2Fbionic.git&a=search&h=HEAD&st=commit&s=LD_LIBRARY_PATH
Emmanuel
> But shouldn't it be also in 1.6 (Donut)? It didn't seem to work.http://android.git.kernel.org/?p=platform%2Fbionic.git&a=search&h=HEA...208