Re: HELP::: CALL_EXTERNAL & C [message #31128] |
Wed, 12 June 2002 02:22 |
Nigel Wade
Messages: 286 Registered: March 1998
|
Senior Member |
|
|
rc wrote:
> hi all,
>
> Can anyone please help me with the following error::
>
>
> % CALL_EXTERNAL: Error loading sharable executable.
> Symbol: tst_call2, File =
> /data/geomatics3/prg_new/call_tst/case2mod2.so
> ld.so.1:
> /nerc/packages/envi/idl_5.5/bin/bin.solaris2.sparc6
> 4/idl: fatal: /data/geomatics3/prg_new/call_tst/case2m
> od2.so: wrong ELF class: ELFCLASS32
> % Execution halted at: CASIDAS87_44 691
> /space/data/geomatics3/prg_new/call_tst/casidas87_44.pro
> % $MAIN$ 1
> /space/data/geomatics3/prg_new/call_tst/casidas87_44.pro
> % Program caused arithmetic error: Floating underflow
>
>
> thanks in advance
> RC
Well, it looks like you're trying to load a 32bit DSO into a 64bit
executable and the link/loader is refusing. I'd guess you need to
recompile/link the DSO as 64bit, or run the 32bit idl binary.
The clues I'm basing this guess on are :
> idl_5.5/bin/bin.solaris2.sparc64/idl
> wrong ELF class: ELFCLASS32
--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
|
|
|