HI

I recently wrote a c program and compiled it dynamically in order to 
execute it with adb shell.
So I put the shared library xxx.so into /system/lib, the executable file to 
/system/bin, then everything works fine.

Now for some reason, I need to put the xxx.so into /system/<custom 
folder>/lib, the problem comes:  the executable file does not lunch anymore 
with error message: no such file or directory.

I think it's because the executable file can not find the shared library. 
So I tried to modify the environment variable LD_LIBRARY_PATH, but it does 
not work.

Anyone knows where to modify the shared library path?

Thanks in advance,

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to