Re: isis startup error

From: John E. Davis <davis_at_email.domain.hidden>
Date: Thu, 31 May 2007 20:36:07 -0400
Roderick Johnstone <rmj_at_email.domain.hidden>linux> cd /data/soft3/cxc/v3.4/linux
>linux> find . -name "libslang.so*"
>./lib/libslang.so
>./lib/libslang.so.1
>./lib/libslang.so.1.4.9
>./ots/slang/lib/libslang.so
>./ots/slang/lib/libslang.so.2
>./ots/slang/lib/libslang.so.2.0.4
>./ots/slang.v1.4.9/lib/libslang.so
>./ots/slang.v1.4.9/lib/libslang.so.1
>./ots/slang.v1.4.9/lib/libslang.so.1.4.9
>./ots/slang.v1.4.9/src/elfobjs/libslang.so
>./ots/slang.v1.4.9/src/elfobjs/libslang.so.1.4.9
>
>I was careful to link isis against the ots/slang/lib slang.

From what I can see using our ciao-3.4 installation, the slang-2
version of slsh as distributed with ciao-3.4 is unusable.  For example, 

# $ASCDS_INSTALL/ots/slang/bin/slsh --version
slsh version 0.7.3-0
S-Lang Library Version: 2.0.6
        ** Note: This program was compiled against version 2.0.4.
# ldd $ASCDS_INSTALL/ots/slang/bin/slsh 
        linux-gate.so.1 =>  (0xffffe000)
        libslang.so.2 => /lib/libslang.so.2 (0x55577000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0x55635000)
        libm.so.6 => /lib/tls/libm.so.6 (0x55639000)
        libc.so.6 => /lib/tls/libc.so.6 (0x5565e000)
        /lib/ld-linux.so.2 (0x55555000)

As you can see, it is picking up the version of slang in /lib, and not
the one in the CIAO distribution.  I think that if you set the
LD_LIBRARY_PATH to force it to pick up the version in ciao, then
something else might break.

[...]
>linux> locate structfuns
>/soft3/cxc/v4.0b1/ciao-beta1-4.0/ots/share/slsh/help/structfuns.hlp
>/soft3/cxc/v4.0b1/ciao-beta1-4.0/ots/share/slsh/structfuns.sl
>/soft3/cxc/v3.4/linux/ots/slang/share/slsh/structfuns.sl

I believe isis reads some sort of local startup file from
.../isis/etc/local.sl, e.g., ots/isis-1.3.0/etc/local.sl.  You might
try adding

   prepend_to_isis_load_path ("/path/to/share/slsh/structfuns.sl");
                              (^^^^^^^^ change this)
to that file.

But again, I strongly urge you to install your own version of slang
and link isis to that.

--John
Received on Thu May 31 2007 - 20:36:07 EDT

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:45 EDT