realbasic-nug
[Top] [All Lists]

Re: Running REALbasic apps in a chroot environment

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Running REALbasic apps in a chroot environment
From: Keith Hutchison <thinker at balance-infosystems dot com>
Date: Sun, 1 Aug 2004 07:43:04 +1000
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <A44B0E86-E32B-11D8-83D5-003065966922 at balance-infosystems dot com> <1091305005 dot 410bfe2d7274d at www> <F0A375A8-E332-11D8-83D5-003065966922 at balance-infosystems dot com> <1091307444 dot 410c07b40c615 at www>
Hi Tim,

THANKS!!!!!!!!!!!!!!!!!

Finally, I have a method that enables REALbasic compiled linux applications to run on my old SuSE servers _without_ having to mess with glibc on the old system. I only have it working on one old SuSE 8.1 system at the moment and the /realbasic/bin/bash file is the same as the /bin/.bash file on the 8.1 system.
(One of the other servers is giving a Illegal Instruction response)

Proof.

mail:/realbasic # /realbasic/bin/helloworld.mwrb
/realbasic/bin/helloworld.mwrb: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /realbasic/bin/helloworld.mwrb)
mail:/realbasic # /realbasic/bin/helloworld.bash
Hello world


for those who are interested

I created a base directory called /realbasic
Here is a listing of the files including the files I copied over from a SuSE 9.0 systems.

mail:/realbasic # ls  bin etc lib usr usr/lib/
bin:
.  ..  bash  helloworld.bash  helloworld.mwrb  ls

etc:
.  ..

lib:
. ld-linux.so.2 libattr.so.1 libdl.so.2 libm.so.6 libpthread.so.20 librt.so.1 .. libacl.so.1 libattr.so.1.1.0 libgcc_s.so.1 libncurses.so.5 libpthread.so.20.0.21 ld-2.3.2.so libacl.so.1.1.0 libc.so.6 libhistory.so.4 libpthread.so.0 libreadline.so.4

usr:
.  ..  lib

usr/lib/:
.  ..  libstdc++.so.5  libstdc++.so.5.0.5


Here is the bash code
#!/bin/bash
/usr/bin/chroot /realbasic/ /bin/helloworld.mwrb

Once again Tim, many thanks.


Keith Hutchison
Making Sense of Information
Balance-InfoSystems.Com

http://balance-infosystems.com http://warmpond.com http://realopen.org
Postgresql - FoxPro - Delphi - VBA - RealBasic

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>