LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Run 32bit app on 64bit kernel ont as root (https://www.linuxquestions.org/questions/linux-software-2/run-32bit-app-on-64bit-kernel-ont-as-root-4175425771/)

sluge 09-05-2012 08:29 AM

Run 32bit app on 64bit kernel ont as root
 
Hello
I use tool hpacu-a RAID configuration utility by HP, it is 32-bit application and I use it on 64-bit system by copying 32-bit libraries to /lib and /usr/lib directories.

But now I'm working on specific system where /lib and /usr folders are read-only filesystems, they are mounted from image files, and it's impossible to copy anything to them.

I can copy only files only to /etc and /tmp folders. So, I copyed hpacu application and 32-bit libraries to my /tmp folder, type
Code:

export LD_LIBRARY_PATH=/tmp
and tryed to launch my utility but failed with error:
Code:

/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

Is any posibility for me to launch this utility?

pan64 09-05-2012 09:02 AM

have you tried LD_RUN_PATH? http://osr507doc.sco.com/en/tools/cc...dirsearch.html

sluge 09-07-2012 07:52 AM

Quote:

Originally Posted by pan64 (Post 4773282)

Hello, unfortuanly this didn't help because LD_RUN_PATH is used for the link time resolution of libraries


All times are GMT -5. The time now is 04:03 PM.