Recent

Author Topic: can a standard linux .so run under android  (Read 5458 times)

jack616

  • Sr. Member
  • ****
  • Posts: 268
can a standard linux .so run under android
« on: February 19, 2013, 06:31:29 pm »

presumably cross compiled for the correct processor
if it can  - any ideas on how to install and access it?

zeljko

  • Hero Member
  • *****
  • Posts: 1821
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: can a standard linux .so run under android
« Reply #1 on: February 21, 2013, 03:46:00 pm »
Copy it to /usr/lib ? (you must have rooted device for this), but I guess copy it in some empty folder + export LD_LIBRARY_PATH=/thatfolder can work too (from terminal).

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: can a standard linux .so run under android
« Reply #2 on: February 22, 2013, 07:32:00 am »
How can someone run a .so file? libraries export routines to other applications, they are not supposed to be "run". You can run linux executables in Android, however.

zeljko

  • Hero Member
  • *****
  • Posts: 1821
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: can a standard linux .so run under android
« Reply #3 on: February 22, 2013, 01:03:23 pm »
@felipemdc, you mean non-gui linux executables I guess.

jack616

  • Sr. Member
  • ****
  • Posts: 268
Re: can a standard linux .so run under android
« Reply #4 on: February 22, 2013, 04:48:52 pm »
yes they are text based .so's
and yes I know you dont "run" a .so

I wrote these a few years ago and was just wondering if I could
translate for Android use.

Would I have any trouble passing the (ansi text only) output up for use
with the android gui?
And conversely talking to them from android by passing text to them?
I cant think of any issues but I'm not at all experience with android
appart from getting the hello world example here running.



 

 

TinyPortal © 2005-2018