Ron Jones wrote:
I just found an easier way to check this out. You should be able to just #
cd /opt/qmt-sandbox # ldd bin/bash
libtermcap.so.2 => /lib/libtermcap.so.2 (0x002bf000)
libdl.so.2 => /lib/libdl.so.2 (0x00294000)
libc.so.6 => /lib/tls/libc.so.6 (0x00168000)
/lib/ld-linux.so.2 (0x0014f000)
What do you get?
When I cd to /opt/qmt-sandbox and run the command, here is what I get:
[EMAIL PROTECTED] qmt-sandbox]# ldd bin/bash
libtermcap.so.2 => /lib64/libtermcap.so.2 (0x0000003aaf700000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003c9cc00000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000003c9c900000)
/lib64/ld-linux-x86-64.so.2 (0x0000003c9c700000)
Ron
I used two 'test' scripts when I was testing this problem:
# cat caller
echo "about to call"
p1=parm1
p2=parm2
p3=parm3
chroot /opt/qmt-sandbox \
/usr/src/qmt/called \
$p1 \
$p2 \
$p3
echo "returned from called"
# cat called
echo "0=$0 1=$1 2=$2 3=$3"
exit
Try creating caller, called in /opt/qmt-sandbox/usr/src/qmt/, then run
caller. What do you get?
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]