Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th September 2012, 02:30 PM
sluge's Avatar
sluge Offline
Registered User
 
Join Date: Jun 2009
Location: Russia,52
Posts: 89
windows_7ie
Question 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?
Reply With Quote
  #2  
Old 6th September 2012, 12:00 AM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,695
linuxfirefox
Re: Run 32bit app on 64bit kernel ont as root

/lib/ld-linux.so.2 is the 32-bit ELF-interpreter/dynamic-linker (like /lib64/ld-linux-x86-64.so.2 for 64-bit programs). Its location is hard-coded into the executable at compile-time, and LD_LIBRARY_PATH won't affect that. (ld-linux.so is actually what uses LD_LIBRARY_PATH to find the other libraries.)

How much access do you have to this machine? If /lib cannot be modified, you may be able to use "mount --bind" and/or chroot tricks. Or you could try executing the ELF-interpreter directly: "/tmp/ld-linux.so.2 /full/path/to/your/executable [ARGS]" (with LD_LIBRARY_PATH set of course).
Reply With Quote
Reply

Tags
32bit, 64bit, app, kernel, ont, root, run

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
64bit or 32bit ? aniketv Using Fedora 6 18th November 2009 01:03 AM
F8 vs. F9 (and 32bit vs. 64bit) Pacopag Installation and Live Media 8 25th June 2008 08:49 PM
fc6 32bit --> f7 64bit BehindTheTruth EOL (End Of Life) Versions 3 24th June 2007 10:52 AM
32bit or 64bit? hiberphoptik Hardware & Laptops 3 6th December 2005 07:51 AM


Current GMT-time: 03:44 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat